diff options
author | Ole Loots <ole@monochrom.net> | 2013-12-21 01:49:26 +0100 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2013-12-21 01:49:26 +0100 |
commit | 340d437b3fd33a72b0894098a3cb88090980d9a8 (patch) | |
tree | d83b50fa17fa2ed1b37ab544e49ed5975f32df9d /atari/gemtk/gemtk.h | |
parent | 1970fb7bdaa30454115777122a238b4931839f0b (diff) | |
download | netsurf-340d437b3fd33a72b0894098a3cb88090980d9a8.tar.gz netsurf-340d437b3fd33a72b0894098a3cb88090980d9a8.tar.bz2 |
Minor changes to gemtk
- check for NULL window ptr in gemtk_wm_send_msg
- use textarea template string for max textarea string length
Diffstat (limited to 'atari/gemtk/gemtk.h')
-rw-r--r-- | atari/gemtk/gemtk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atari/gemtk/gemtk.h b/atari/gemtk/gemtk.h index ba463a3c3..44baba429 100644 --- a/atari/gemtk/gemtk.h +++ b/atari/gemtk/gemtk.h @@ -272,7 +272,7 @@ void gemtk_wm_clear(GUIWIN *win); /* -------------------------------------------------------------------------- */ /* AES OBJECT TREE TOOLS */ /* -------------------------------------------------------------------------- */ -char gemtk_obj_set_str_safe(OBJECT * tree, short idx, char *txt); +char gemtk_obj_set_str_safe(OBJECT * tree, short idx, const char *txt); char *gemtk_obj_get_text(OBJECT * tree, short idx); GRECT * gemtk_obj_screen_rect(OBJECT * tree, short obj); bool gemtk_obj_is_inside(OBJECT * tree, short obj, GRECT *area); |