diff options
-rw-r--r-- | commands.c | 2 | ||||
-rw-r--r-- | dvdswitch.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -819,7 +819,7 @@ eOSState cCMDImageRead::ProcessKey(eKeys Key) asprintf(&buffer, "%s/%s", DVDSwitchSetup.ImageDir, Dir); } if(buffer[strlen(buffer)-1] == '/') - buffer[strlen(buffer)-1] == '\0'; + buffer[strlen(buffer)-1] = '\0'; DEBUG("ReadThread wird gestartet"); cCMDImageReadThread *read = new cCMDImageReadThread(File, buffer, ImgType); FREENULL(buffer); diff --git a/dvdswitch.c b/dvdswitch.c index 7e8f33c..1ed2285 100644 --- a/dvdswitch.c +++ b/dvdswitch.c @@ -17,7 +17,7 @@ #include "imagelist.h" //#include "dvdlist.h" -static const char *VERSION = "0.1.0"; +static const char *VERSION = "0.1.1"; static const char *DESCRIPTION = "allowed to play DVD-Images"; //static const char *MAINMENUENTRY = "DVDSwitch"; |