author | llornkcor <llornkcor> | 2002-03-13 02:57:16 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-13 02:57:16 (UTC) |
commit | 13d8ac43bf8d4c6e492e57d2ab3c7353935a9365 (patch) (unidiff) | |
tree | 4efc47c39ebde1ad5bc6fe824b79d19ccb2cab7d | |
parent | ad4f318f600a00905d45a780cd100bcf1e08efaa (diff) | |
download | opie-13d8ac43bf8d4c6e492e57d2ab3c7353935a9365.zip opie-13d8ac43bf8d4c6e492e57d2ab3c7353935a9365.tar.gz opie-13d8ac43bf8d4c6e492e57d2ab3c7353935a9365.tar.bz2 |
I fixed somethin
-rw-r--r-- | core/apps/textedit/textedit.cpp | 5 |
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() | |||
743 | editor->setEdited( FALSE); | 743 | editor->setEdited( FALSE); |
744 | edited1=FALSE; | 744 | edited1=FALSE; |
745 | edited=FALSE; | 745 | edited=FALSE; |
746 | if(caption().left(1)=="*") | ||
746 | setCaption(caption().right(caption().length()-1)); | 747 | setCaption(caption().right(caption().length()-1)); |
747 | 748 | ||
748 | 749 | ||
@@ -832,9 +833,9 @@ bool TextEdit::saveAs() | |||
832 | } | 833 | } |
833 | } | 834 | } |
834 | } | 835 | } |
835 | editor->setEdited( FALSE); | 836 | editor->setEdited(TRUE); |
836 | edited1=FALSE; | 837 | edited1=FALSE; |
837 | edited=FALSE; | 838 | edited=TRUE; |
838 | if(caption().left(1)=="*") | 839 | if(caption().left(1)=="*") |
839 | setCaption(caption().right(caption().length()-1)); | 840 | setCaption(caption().right(caption().length()-1)); |
840 | 841 | ||