summaryrefslogtreecommitdiff
path: root/core
authorllornkcor <llornkcor>2002-07-29 12:22:11 (UTC)
committer llornkcor <llornkcor>2002-07-29 12:22:11 (UTC)
commit0868e96b1737d121733c898ae92348a279e5b53f (patch) (side-by-side diff)
treeb0fd8451d06776994528f3aa3b561fccbd053151 /core
parentb4827a8b268af9d1485455cdf727f564047f396e (diff)
downloadopie-0868e96b1737d121733c898ae92348a279e5b53f.zip
opie-0868e96b1737d121733c898ae92348a279e5b53f.tar.gz
opie-0868e96b1737d121733c898ae92348a279e5b53f.tar.bz2
fix bug number 140
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp
index 0c792c6..577db75 100644
--- a/core/applets/vmemo/vmemo.cpp
+++ b/core/applets/vmemo/vmemo.cpp
@@ -363,12 +363,13 @@ bool VMemo::startRecording() {
fileName+=fName;
// No spaces in the filename
fileName.replace(QRegExp("'"),"");
fileName.replace(QRegExp(" "),"_");
fileName.replace(QRegExp(":"),".");
fileName.replace(QRegExp(","),"");
+ fileName += ".wav";
qDebug("filename is "+fileName);
// open tmp file here
char *pointer;
pointer=tmpnam(NULL);
qDebug("Opening tmp file %s",pointer);