diff options
author | Dave Davenport <qball@gmpclient.org> | 2015-02-03 08:21:59 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2015-02-03 08:21:59 +0100 |
commit | 63fd534ba2ccc79ceecdf7f4493cc85cee7ca877 (patch) | |
tree | 6021ce7431f48121e15b4435f4c724675c98563b /include/textbox.h | |
parent | f86cf8988bce70cb1aecf614cd338de816112889 (diff) |
Move data around, constness, etc.
Diffstat (limited to 'include/textbox.h')
-rw-r--r-- | include/textbox.h | 4 |
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 |