Previous 15994 Revisions Next

r7830 Friday 16th April, 2010 at 10:19:26 UTC by Firewave
[WINUI] Renamed variable to properly represent type
[src/osd/winui]winui.c

src/osd/winui/winui.c
r7829r7830
40794079{
40804080   int i;
40814081   LPTREEFOLDER folder;
4082   char* t_szFile;
4082   char* utf8_szFile;
40834083   BOOL res;
40844084
40854085   switch (id)
r7829r7830
45894589
45904590         if (GetOpenFileName(&OpenFileName))
45914591         {
4592            t_szFile = utf8_from_tstring(szFile);
4593            if( !t_szFile )
4592            utf8_szFile = utf8_from_tstring(szFile);
4593            if( !utf8_szFile )
45944594               return FALSE;
4595            ResetBackground(t_szFile);
4595            ResetBackground(utf8_szFile);
45964596            LoadBackgroundBitmap();
45974597            InvalidateRect(hMain, NULL, TRUE);
45984598            global_free(t_bgdir);
4599            global_free(t_szFile);
4599            global_free(utf8_szFile);
46004600            return TRUE;
46014601         }
46024602         global_free(t_bgdir);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team