diff options
author | toni <matzeton@googlemail.com> | 2016-07-31 04:12:44 +0200 |
---|---|---|
committer | toni <matzeton@googlemail.com> | 2016-07-31 04:12:44 +0200 |
commit | f47610184e074eb2cdfae9ceaee5f8811007faff (patch) | |
tree | 636b732188f4698c61972d101d2abac385ee8717 /src/ui_txtwindow.h | |
parent | c0eb5798acaea17314de1a18cd0f4ce3d82c7e73 (diff) |
exported atmout to nask_ui, fixed weird memory error (busy_str in
infownd_update had a buffer overflow, but valgrind wasn't able to catch
this, cz the overwrite happened in same memory segment (special case),
gdb ftw
Diffstat (limited to 'src/ui_txtwindow.h')
-rw-r--r-- | src/ui_txtwindow.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui_txtwindow.h b/src/ui_txtwindow.h index 260a38a..5b91350 100644 --- a/src/ui_txtwindow.h +++ b/src/ui_txtwindow.h @@ -45,6 +45,12 @@ register_txtwindow(struct txtwindow *a); void set_txtwindow_text(struct txtwindow *a, char *text); +size_t +get_txtwindow_rows(struct txtwindow *a); + +size_t +get_txtwindow_textlen(size_t row_index, struct txtwindow *a); + void set_txtwindow_title(struct txtwindow *a, const char *title); |