- Subject: [Jed-users-l] [PATCH] save_buffer_to_file: Remove second question mark from prompt
- From: Jörg Sommer <joerg@xxxxxxxxxxxx>
- Date: Tue, 18 Jan 2011 02:07:25 +0100
The function jed_get_yes_no() already adds a question mark to the end of
the prompt.
---
src/ledit.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/ledit.c b/src/ledit.c
index a98a43f..039ad6d 100644
--- a/src/ledit.c
+++ b/src/ledit.c
@@ -345,27 +345,27 @@ int jed_save_buffer_to_file (char *dir, char *file)
break;
case BUFFER_MODIFIED:
- prompt = "File changed on disk. Save anyway?";
+ prompt = "File changed on disk. Save anyway";
break;
case READ_ONLY:
- prompt = "No permission to write to file. Try to save anyway?";
+ prompt = "No permission to write to file. Try to save anyway";
break;
case BUFFER_MODIFIED|READ_ONLY:
- prompt = "File changed on disk and no permission to write. Save anyway?";
+ prompt = "File changed on disk and no permission to write. Save anyway";
break;
case BUFFER_MODIFIED|OVERWRITE_MODE:
- prompt = "File exists and changed on disk. Overwrite?";
+ prompt = "File exists and changed on disk. Overwrite";
break;
case READ_ONLY|OVERWRITE_MODE:
- prompt = "File exists and no permission to write. Try to overwrite anyway?";
+ prompt = "File exists and no permission to write. Try to overwrite anyway";
break;
case READ_ONLY|OVERWRITE_MODE|BUFFER_MODIFIED:
- prompt = "File changed on disk and no permission to write. Overwrite anyway?";
+ prompt = "File changed on disk and no permission to write. Overwrite anyway";
break;
}
--
1.7.2.3
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l
[2011 date index]
[2011 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]