summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-04-27 04:33:57 (UTC)
committer llornkcor <llornkcor>2002-04-27 04:33:57 (UTC)
commite2f3288d468508f2cf7c0a327044963ca4b1b54a (patch) (side-by-side diff)
treed149829fdc65a58b6feb200868bd0f28c5f37cd0
parent8ca9c8dad17ccaee9b0b8132324176c2a8e40526 (diff)
downloadopie-e2f3288d468508f2cf7c0a327044963ca4b1b54a.zip
opie-e2f3288d468508f2cf7c0a327044963ca4b1b54a.tar.gz
opie-e2f3288d468508f2cf7c0a327044963ca4b1b54a.tar.bz2
bug fix
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp
index 4b668de..ec46340 100644
--- a/core/applets/vmemo/vmemo.cpp
+++ b/core/applets/vmemo/vmemo.cpp
@@ -19,16 +19,16 @@
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <linux/soundcard.h>
+
#include <string.h>
#include <stdlib.h>
#include <errno.h>
-#include <string.h>
typedef struct _waveheader {
u_long main_chunk; /* 'RIFF' */
u_long length; /* filelen */
u_long chunk_type; /* 'WAVE' */
u_long sub_chunk; /* 'fmt ' */
@@ -290,13 +290,13 @@ void VMemo::mousePressEvent( QMouseEvent *me )
int s;
s=fileName.find(':');
if(s)
fileName=fileName.right(fileName.length()-s-2);
qDebug("filename will be "+fileName);
- if( !fileName.right(1).find('/') == -1)
+ if( fileName.right(1).find('/') == -1)
fileName+="/";
// if(systemZaurus)
// fileName=vmCfg.readEntry("Dir", "/mnt/cf/"); // zaurus does not have /mnt/ramfs
// else
// fileName=vmCfg.readEntry("Dir", "/mnt/ramfs/");