summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2006-12-14 08:28:56 +0000
committerFrederic Culot <calcurse@culot.org>2006-12-14 08:28:56 +0000
commit414e20753aef26172c3ee97837a57acfbaaa8aca (patch)
tree584a52304015433a870c29a477d087447ce127fe /src
parent6d1838df86357524ddf150f009ecf8818bf0228d (diff)
downloadcalcurse-414e20753aef26172c3ee97837a57acfbaaa8aca.tar.gz
calcurse-414e20753aef26172c3ee97837a57acfbaaa8aca.zip
updatestring() now returns an integer to handle canceling
Diffstat (limited to 'src')
-rwxr-xr-xsrc/utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.h b/src/utils.h
index 78d6fe8..cde7093 100755
--- a/src/utils.h
+++ b/src/utils.h
@@ -1,4 +1,4 @@
-/* $calcurse: utils.h,v 1.11 2006/12/13 09:33:01 culot Exp $ */
+/* $calcurse: utils.h,v 1.12 2006/12/14 08:28:56 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -57,7 +57,7 @@ char *add_char(int pos, int ch, char *str);
void showcursor(WINDOW *win, int y, int pos, char *str, int l, int offset);
void showstring(WINDOW *win, int y, int x, char *str, int len, int pos);
int getstring(WINDOW *win, int colr, char *str, int l, int x, int y);
-void updatestring(WINDOW *win, int colr, char **str, int x, int y);
+int updatestring(WINDOW *win, int colr, char **str, int x, int y);
int is_all_digit(char *string);
void border_color(WINDOW *window, int bcolr);
void border_nocolor(WINDOW *window);