git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Usermode/AxWin3 - Added proper mid-character clipping to font rendering
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin3_src
/
WM
/
image.c
diff --git
a/Usermode/Applications/axwin3_src/WM/image.c
b/Usermode/Applications/axwin3_src/WM/image.c
index
a0b86e9
..
49a074d
100644
(file)
--- a/
Usermode/Applications/axwin3_src/WM/image.c
+++ b/
Usermode/Applications/axwin3_src/WM/image.c
@@
-58,6
+58,9
@@
tImage *Image_Load(const char *URI)
}
tmp = fread(buf, 1, filesize, fp);
+ if(tmp != filesize) {
+ _SysDebug("Image_Load: fread() failed - %i != filesize (%i)", tmp, filesize);
+ }
fclose(fp);
}
else if( strcmp(uri->Proto, "base64") == 0 )
UCC
git Repository :: git.ucc.asn.au