Преглед на файлове

Some minor FIXME tweaks.

Ryan C. Gordon преди 15 години
родител
ревизия
8b0988a038
променени са 2 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 0
      src/physfs.c
  2. 0 2
      src/platform_windows.c

+ 1 - 0
src/physfs.c

@@ -2134,6 +2134,7 @@ int PHYSFS_setBuffer(PHYSFS_File *handle, PHYSFS_uint64 _bufsize)
     PHYSFS_uint32 bufsize;
     PHYSFS_uint32 bufsize;
 
 
     /* !!! FIXME: Unlocalized string. */
     /* !!! FIXME: Unlocalized string. */
+    /* !!! FIXME: actually, why use 32 bits here? */
     BAIL_IF_MACRO(_bufsize > 0xFFFFFFFF, "buffer must fit in 32-bits", 0);
     BAIL_IF_MACRO(_bufsize > 0xFFFFFFFF, "buffer must fit in 32-bits", 0);
     bufsize = (PHYSFS_uint32) _bufsize;
     bufsize = (PHYSFS_uint32) _bufsize;
 
 

+ 0 - 2
src/platform_windows.c

@@ -292,12 +292,10 @@ static int findApiSymbols(void)
     if (dll != NULL)
     if (dll != NULL)
         LOOKUP_NOFALLBACK(GetUserProfileDirectoryW, osHasUnicode);
         LOOKUP_NOFALLBACK(GetUserProfileDirectoryW, osHasUnicode);
 
 
-    /* !!! FIXME: what do they call advapi32.dll on Win64? */
     dll = libAdvApi32 = LoadLibraryA("advapi32.dll");
     dll = libAdvApi32 = LoadLibraryA("advapi32.dll");
     if (dll != NULL)
     if (dll != NULL)
         LOOKUP(GetUserNameW, osHasUnicode);
         LOOKUP(GetUserNameW, osHasUnicode);
 
 
-    /* !!! FIXME: what do they call kernel32.dll on Win64? */
     dll = libKernel32 = LoadLibraryA("kernel32.dll");
     dll = libKernel32 = LoadLibraryA("kernel32.dll");
     if (dll != NULL)
     if (dll != NULL)
     {
     {