author | llornkcor <llornkcor> | 2002-09-21 22:26:31 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-09-21 22:26:31 (UTC) |
commit | b570ab8d46fc134f16d5959861869e36af50bd38 (patch) (side-by-side diff) | |
tree | 5aaaa321728b7b2f8f21c11b173d3f35b4ae4dcf /core | |
parent | f4a389bf66404f7c7474c4ef27491f5910da550b (diff) | |
download | opie-b570ab8d46fc134f16d5959861869e36af50bd38.zip opie-b570ab8d46fc134f16d5959861869e36af50bd38.tar.gz opie-b570ab8d46fc134f16d5959861869e36af50bd38.tar.bz2 |
close alert is dsp error
-rw-r--r-- | core/applets/vmemo/vmemo.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp index 4c07b3a..226f058 100644 --- a/core/applets/vmemo/vmemo.cpp +++ b/core/applets/vmemo/vmemo.cpp @@ -311,5 +311,2 @@ bool VMemo::startRecording() { recording = FALSE; - msgLabel=0; - delete msgLabel; - return FALSE; @@ -429,2 +426,6 @@ int VMemo::openDSP() { if(dsp == -1) { + msgLabel->close(); + msgLabel=0; + delete msgLabel; + perror("open(\"/dev/dsp\")"); |