summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <Sam@XPS-SUSE.site>2008-12-14 09:29:10 +0900
committerSam Spilsbury <Sam@XPS-SUSE.site>2008-12-14 09:29:10 +0900
commite0ab91c7950b7537ac98cf5a7c617fba9fff1938 (patch)
treec082d725cd960537f5cb0687af86fbec344bdd24
parentf7fac7eb79a77afd2281e5f5595c6489bb9eb438 (diff)
downloadprompt-e0ab91c7950b7537ac98cf5a7c617fba9fff1938.tar.gz
prompt-e0ab91c7950b7537ac98cf5a7c617fba9fff1938.tar.bz2
* Patch from Marien Zwart: [PATCH] Stop requiring a window, don't leak a string and allow the font to be configureable via dbus
-rw-r--r--prompt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/prompt.c b/prompt.c
index 9e32031..f6f6d86 100644
--- a/prompt.c
+++ b/prompt.c
@@ -338,7 +338,7 @@ promptDisplayText (CompDisplay *d,
PROMPT_SCREEN (w->screen);
- stringData = strdup(getStringOptionNamed (option, nOption, "string", "This message was not sent correctly"));
+ stringData = getStringOptionNamed (option, nOption, "string", "This message was not sent correctly");
timeout = getIntOptionNamed(option, nOption, "timeout", 5000);
if (timeout < 0)
infinite = TRUE;