summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-03-13 02:57:16 (UTC)
committer llornkcor <llornkcor>2002-03-13 02:57:16 (UTC)
commit13d8ac43bf8d4c6e492e57d2ab3c7353935a9365 (patch) (side-by-side diff)
tree4efc47c39ebde1ad5bc6fe824b79d19ccb2cab7d
parentad4f318f600a00905d45a780cd100bcf1e08efaa (diff)
downloadopie-13d8ac43bf8d4c6e492e57d2ab3c7353935a9365.zip
opie-13d8ac43bf8d4c6e492e57d2ab3c7353935a9365.tar.gz
opie-13d8ac43bf8d4c6e492e57d2ab3c7353935a9365.tar.bz2
I fixed somethin
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/textedit.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp
index f031a0f..c46f089 100644
--- a/core/apps/textedit/textedit.cpp
+++ b/core/apps/textedit/textedit.cpp
@@ -743,6 +743,7 @@ bool TextEdit::save()
editor->setEdited( FALSE);
edited1=FALSE;
edited=FALSE;
+ if(caption().left(1)=="*")
setCaption(caption().right(caption().length()-1));
@@ -832,9 +833,9 @@ bool TextEdit::saveAs()
}
}
}
- editor->setEdited( FALSE);
+ editor->setEdited(TRUE);
edited1=FALSE;
- edited=FALSE;
+ edited=TRUE;
if(caption().left(1)=="*")
setCaption(caption().right(caption().length()-1));