changeset 37018:d3dc725d4c89

Fix some compilation errors in Win32 GUI. These have crept in by absent-minded copy and paste. Patch by Stephen Sheldon, sfsheldo gmail com.
author ib
date Mon, 31 Mar 2014 08:40:53 +0000
parents 3b5fdb62a907
children ae25759bdae6
files gui/win32/widgetrender.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)