fix macro call

svn: r2909
This commit is contained in:
Matthew Flatt 2006-05-11 20:26:46 +00:00
parent e3e4115ac5
commit 727ac66143

View File

@ -2571,7 +2571,7 @@ int wxsGetImageType(char *fn)
#endif
GC_CAN_IGNORE unsigned char *expect = NULL;
f = fopen_to_read(fn, "rb");
f = fopen_to_read(fn);
if (f) {
switch ((unsigned)fgetc(f)) {
@ -2718,7 +2718,7 @@ int wxGetPreference(const char *name, char *res, long len)
/*************** Common ***************/
fp = fopen_to_read(s, "rb");
fp = fopen_to_read(s);
if (!fp)
return 0;