Navigation Menu

Skip to content

Commit

Permalink
Some minor FIXME tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 21, 2010
1 parent 51a22c5 commit 8b0988a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions src/physfs.c
Expand Up @@ -2134,6 +2134,7 @@ int PHYSFS_setBuffer(PHYSFS_File *handle, PHYSFS_uint64 _bufsize)
PHYSFS_uint32 bufsize;

/* !!! FIXME: Unlocalized string. */
/* !!! FIXME: actually, why use 32 bits here? */
BAIL_IF_MACRO(_bufsize > 0xFFFFFFFF, "buffer must fit in 32-bits", 0);
bufsize = (PHYSFS_uint32) _bufsize;

Expand Down
2 changes: 0 additions & 2 deletions src/platform_windows.c
Expand Up @@ -292,12 +292,10 @@ static int findApiSymbols(void)
if (dll != NULL)
LOOKUP_NOFALLBACK(GetUserProfileDirectoryW, osHasUnicode);

/* !!! FIXME: what do they call advapi32.dll on Win64? */
dll = libAdvApi32 = LoadLibraryA("advapi32.dll");
if (dll != NULL)
LOOKUP(GetUserNameW, osHasUnicode);

/* !!! FIXME: what do they call kernel32.dll on Win64? */
dll = libKernel32 = LoadLibraryA("kernel32.dll");
if (dll != NULL)
{
Expand Down

0 comments on commit 8b0988a

Please sign in to comment.