summaryrefslogtreecommitdiffstats
path: root/include/textbox.h
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-02-03 08:21:59 +0100
committerDave Davenport <qball@gmpclient.org>2015-02-03 08:21:59 +0100
commit63fd534ba2ccc79ceecdf7f4493cc85cee7ca877 (patch)
tree6021ce7431f48121e15b4435f4c724675c98563b /include/textbox.h
parentf86cf8988bce70cb1aecf614cd338de816112889 (diff)
Move data around, constness, etc.
Diffstat (limited to 'include/textbox.h')
-rw-r--r--include/textbox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/textbox.h b/include/textbox.h
index 457e629e..a9358dc5 100644
--- a/include/textbox.h
+++ b/include/textbox.h
@@ -47,7 +47,7 @@ textbox* textbox_create ( Window parent,
TextboxFlags flags,
short x, short y, short w, short h,
TextBoxFontType tbft,
- char *text );
+ const char *text );
/**
* @param tb Handle to the textbox
*
@@ -69,7 +69,7 @@ void textbox_font ( textbox *tb, TextBoxFontType tbft );
*
* Set the text to show. Cursor is moved to end (if visible)
*/
-void textbox_text ( textbox *tb, char *text );
+void textbox_text ( textbox *tb, const char *text );
/**
* @param tb Handle to the textbox