# HG changeset patch # User ib # Date 1396255253 0 # Node ID d3dc725d4c89131358c6b3cbbff786673fb4f2c7 # Parent 3b5fdb62a907ccff01622146b0d820807b4ef7d6 Fix some compilation errors in Win32 GUI. These have crept in by absent-minded copy and paste. Patch by Stephen Sheldon, sfsheldo gmail com. diff -r 3b5fdb62a907 -r d3dc725d4c89 gui/win32/widgetrender.c --- a/gui/win32/widgetrender.c Sat Mar 29 14:30:40 2014 +0000 +++ b/gui/win32/widgetrender.c Mon Mar 31 08:40:53 2014 +0000 @@ -34,7 +34,7 @@ #include "access_mpcontext.h" #include "help_mp.h" #include "libavutil/avstring.h" -#include "stream/stream.h +#include "stream/stream.h" #define MAX_LABELSIZE 250 @@ -258,7 +258,7 @@ if(guiInfo.AudioChannels == 0) stringreplace(text, "$a", "n"); else if(guiInfo.AudioChannels == 1) stringreplace(text, "$a", "m"); - else if(guiInfo.AudioChannels == 2) stringreplace(text, "$a", (guiInfo.AudioPassthrough ? : "r": "t")); + else if(guiInfo.AudioChannels == 2) stringreplace(text, "$a", (guiInfo.AudioPassthrough ? "r" : "t")); else stringreplace(text, "$a", "r"); if(guiInfo.StreamType == STREAMTYPE_FILE)