summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp
index 7cc4062..f5d2b20 100644
--- a/core/applets/vmemo/vmemo.cpp
+++ b/core/applets/vmemo/vmemo.cpp
@@ -302,6 +302,8 @@ bool VMemo::startRecording() {
if(s)
fileName=fileName.right(fileName.length()-s-2);
qDebug("filename will be "+fileName);
+ if( fileName.left(1).find('/') == -1)
+ fileName="/"+fileName;
if( fileName.right(1).find('/') == -1)
fileName+="/";
fName = "vm_"+ dt.toString()+ ".wav";