# HG changeset patch # User ib # Date 1310380795 0 # Node ID 896b427e598e83c92390709eb7515e42bf3bea3b # Parent cdd4fc0616b68b0a7e3256de282cb7a9d871455f Remove unused parameter skindir from create_subwindow() in Win32 GUI. diff -r cdd4fc0616b6 -r 896b427e598e gui/win32/dialogs.c --- a/gui/win32/dialogs.c Mon Jul 11 10:36:09 2011 +0000 +++ b/gui/win32/dialogs.c Mon Jul 11 10:39:55 2011 +0000 @@ -718,7 +718,7 @@ Shell_NotifyIcon(NIM_DELETE, &nid); destroy_window(mygui); create_window(mygui, skinspath); - create_subwindow(mygui, skinspath); + create_subwindow(mygui); SendMessage(hwnd, WM_CLOSE, 0, 0); /* Avoid crashing when switching skin */ } } diff -r cdd4fc0616b6 -r 896b427e598e gui/win32/gui.c --- a/gui/win32/gui.c Mon Jul 11 10:36:09 2011 +0000 +++ b/gui/win32/gui.c Mon Jul 11 10:39:55 2011 +0000 @@ -1311,7 +1311,7 @@ } /* creates the sub (AKA video) window,*/ -int create_subwindow(gui_t *gui, char *skindir) +int create_subwindow(gui_t *gui) { HINSTANCE instance = GetModuleHandle(NULL); WNDCLASS wc; @@ -1542,7 +1542,7 @@ sprintf(temp, "%s\\%s", skindir, skinName); if(create_window(gui, temp)) return NULL; - if(create_subwindow(gui, temp)) return NULL; + if(create_subwindow(gui)) return NULL; if(console) console_toggle(); return gui; } diff -r cdd4fc0616b6 -r 896b427e598e gui/win32/gui.h --- a/gui/win32/gui.h Mon Jul 11 10:36:09 2011 +0000 +++ b/gui/win32/gui.h Mon Jul 11 10:39:55 2011 +0000 @@ -101,7 +101,7 @@ gui_t *create_gui(char *skindir, void (*playercontrol)(int event)); int destroy_window(gui_t *gui); int create_window(gui_t *gui, char *skindir); -int create_subwindow(gui_t *gui, char *skindir); +int create_subwindow(gui_t *gui); int parse_filename(char *file, play_tree_t *playtree, m_config_t *mconfig, int clear); void capitalize(char *filename);