changeset 13181:12176045ccf9

small gcc warning fix
author rathann
date Sat, 28 Aug 2004 20:20:40 +0000
parents b55551b5898b
children 25cb0d6432d4
files Gui/mplayer/common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/common.c	Sat Aug 28 20:00:46 2004 +0000
+++ b/Gui/mplayer/common.c	Sat Aug 28 20:20:40 2004 +0000
@@ -47,7 +47,7 @@
    case STREAMTYPE_FILE:
           if ( ( guiIntfStruct.Filename )&&( guiIntfStruct.Filename[0] ) )
            {
-            if ( p = strrchr(guiIntfStruct.Filename, '/') )
+            if ( (p = strrchr(guiIntfStruct.Filename, '/')) )
               strlcpy(tmp, p + 1, tmplen);
             else
               strlcpy(tmp, guiIntfStruct.Filename, tmplen);