summaryrefslogtreecommitdiff
Unidiff
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 @@
19#include <unistd.h> 19#include <unistd.h>
20#include <stdio.h> 20#include <stdio.h>
21#include <sys/stat.h> 21#include <sys/stat.h>
22#include <fcntl.h> 22#include <fcntl.h>
23#include <sys/ioctl.h> 23#include <sys/ioctl.h>
24#include <linux/soundcard.h> 24#include <linux/soundcard.h>
25
25#include <string.h> 26#include <string.h>
26#include <stdlib.h> 27#include <stdlib.h>
27#include <errno.h> 28#include <errno.h>
28#include <string.h>
29 29
30typedef struct _waveheader { 30typedef struct _waveheader {
31 u_long main_chunk; /* 'RIFF' */ 31 u_long main_chunk; /* 'RIFF' */
32 u_long length; /* filelen */ 32 u_long length; /* filelen */
33 u_long chunk_type; /* 'WAVE' */ 33 u_long chunk_type; /* 'WAVE' */
34 u_long sub_chunk; /* 'fmt ' */ 34 u_long sub_chunk; /* 'fmt ' */
@@ -290,13 +290,13 @@ void VMemo::mousePressEvent( QMouseEvent *me )
290 290
291 int s; 291 int s;
292 s=fileName.find(':'); 292 s=fileName.find(':');
293 if(s) 293 if(s)
294 fileName=fileName.right(fileName.length()-s-2); 294 fileName=fileName.right(fileName.length()-s-2);
295 qDebug("filename will be "+fileName); 295 qDebug("filename will be "+fileName);
296 if( !fileName.right(1).find('/') == -1) 296 if( fileName.right(1).find('/') == -1)
297 fileName+="/"; 297 fileName+="/";
298 298
299// if(systemZaurus) 299// if(systemZaurus)
300// fileName=vmCfg.readEntry("Dir", "/mnt/cf/"); // zaurus does not have /mnt/ramfs 300// fileName=vmCfg.readEntry("Dir", "/mnt/cf/"); // zaurus does not have /mnt/ramfs
301// else 301// else
302// fileName=vmCfg.readEntry("Dir", "/mnt/ramfs/"); 302// fileName=vmCfg.readEntry("Dir", "/mnt/ramfs/");