summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-printtext.c
diff options
context:
space:
mode:
authorAilin Nemui <ailin@esf51.localdomain>2014-11-04 12:08:27 +0100
committerAilin Nemui <ailin@esf51.localdomain>2014-11-10 10:53:14 +0100
commitb03805eeb916712815971ac6bcfffe10cc16711f (patch)
treed0fcb3658c7309fcaf7cac3f82b9b7e969ab67f1 /src/fe-text/gui-printtext.c
parent688fc817dd9958f66e3be603dd0ee8ecc97d649d (diff)
downloadirssi-b03805eeb916712815971ac6bcfffe10cc16711f.zip
reimplement format and length logic for the entry prompt
Diffstat (limited to 'src/fe-text/gui-printtext.c')
-rw-r--r--src/fe-text/gui-printtext.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/fe-text/gui-printtext.c b/src/fe-text/gui-printtext.c
index 547d39c9..83b26e82 100644
--- a/src/fe-text/gui-printtext.c
+++ b/src/fe-text/gui-printtext.c
@@ -109,6 +109,16 @@ void gui_printtext(int xpos, int ypos, const char *str)
next_xpos = next_ypos = -1;
}
+void gui_printtext_internal(int xpos, int ypos, const char *str)
+{
+ next_xpos = xpos;
+ next_ypos = ypos;
+
+ printtext_gui_internal(str);
+
+ next_xpos = next_ypos = -1;
+}
+
void gui_printtext_after_time(TEXT_DEST_REC *dest, LINE_REC *prev, const char *str, time_t time)
{
GUI_WINDOW_REC *gui;