projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cda4e3
)
terminal: use xstrdup instead to handle OOM
author
U. Artie Eoff
<ullysses.a.eoff@intel.com>
Wed, 15 Jan 2014 19:40:37 +0000
(11:40 -0800)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 20 Jan 2014 06:01:30 +0000
(22:01 -0800)
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
clients/terminal.c
patch
|
blob
|
history
diff --git
a/clients/terminal.c
b/clients/terminal.c
index
09bc321
..
f3646fe
100644
(file)
--- a/
clients/terminal.c
+++ b/
clients/terminal.c
@@
-2830,7
+2830,7
@@
terminal_create(struct display *display)
terminal->margin_bottom = -1;
terminal->window = window_create(display);
terminal->widget = window_frame_create(terminal->window, terminal);
- terminal->title = strdup("Wayland Terminal");
+ terminal->title =
x
strdup("Wayland Terminal");
window_set_title(terminal->window, terminal->title);
widget_set_transparent(terminal->widget, 0);