# HG changeset patch # User ib # Date 1395575529 0 # Node ID a5537f70df8e3b6b4a6b8201e2a5035178497bfc # Parent 382af432ec40c7d1567f365a96296c8707129f55 Change assignment of stream in Win32 GUI. Adjust the code to the X11/GTK GUI. diff -r 382af432ec40 -r a5537f70df8e gui/win32/interface.c --- a/gui/win32/interface.c Sat Mar 22 22:39:55 2014 +0000 +++ b/gui/win32/interface.c Sun Mar 23 11:52:09 2014 +0000 @@ -559,7 +559,7 @@ int gui(int what, void *data) { int idata = (intptr_t) data; - stream_t *stream = data; + stream_t *stream; #ifdef CONFIG_DVDREAD dvd_priv_t *dvdp; #endif @@ -658,6 +658,7 @@ } case GUI_SET_STREAM: { + stream = data; guiInfo.StreamType = stream->type; switch(stream->type) {