changeset 8817:84522accebc0

10l, hopefully correct fix, before path was always overwritten to '/'
author atmos4
date Mon, 06 Jan 2003 09:44:28 +0000
parents 341d8083491a
children 499d64f880d3
files libmpdemux/cue_read.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/cue_read.c	Mon Jan 06 04:58:20 2003 +0000
+++ b/libmpdemux/cue_read.c	Mon Jan 06 09:44:28 2003 +0000
@@ -295,7 +295,7 @@
   else {
      *t = '\0';
      t = s;
-     if (*t)
+     if (*t == '\0')
        strcpy(t, "/");
   }
   printf ("dirname: %s\n", t);