fix for building with windows.
authorCampbell Barton <ideasman42@gmail.com>
Wed, 4 Jul 2012 12:36:43 +0000 (12:36 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 4 Jul 2012 12:36:43 +0000 (12:36 +0000)
source/blender/windowmanager/intern/wm_playanim.c

index d673278c3fe5904f42529a3daa72407ac3abb50f..273fda00be4d2fb53e86baa5f76d496d583b19f2 100644 (file)
@@ -968,8 +968,9 @@ void playanim(int argc, const char **argv)
                        if (ibuf) {
                                BLI_strncpy(ibuf->name, ps.picture->name, sizeof(ibuf->name));
 
+                               /* why only windows? (from 2.4x) - campbell */
 #ifdef _WIN32
-                               GHOST_SetTitle(g_window, picture->name);
+                               GHOST_SetTitle(g_window, ps.picture->name);
 #endif
 
                                while (pupdate_time()) PIL_sleep_ms(1);