summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/debugger/debugint.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-04-19 12:08:52 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-04-19 12:08:52 +0200
commit71c4d9f30460914a6823880e88e446799ecfe30f (patch)
tree4718c76a34a5aa2c160c381ab13cf1fa5cca99d7 /src/osd/modules/debugger/debugint.c
parent337342a4c650f38d286a3347b670fbc7ee2c343f (diff)
removed bool conversion and implicit empty check (nw)
Diffstat (limited to 'src/osd/modules/debugger/debugint.c')
-rw-r--r--src/osd/modules/debugger/debugint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/debugger/debugint.c b/src/osd/modules/debugger/debugint.c
index 9e2c988deff..cbb7a627466 100644
--- a/src/osd/modules/debugger/debugint.c
+++ b/src/osd/modules/debugger/debugint.c
@@ -481,7 +481,7 @@ static void dview_draw_title(DView *dv)
dview_draw_outlined_box(dv, RECT_DVIEW_TITLE, 0, 0, dv->bounds.width(), TITLE_HEIGHT, col);
- if (!dv->title)
+ if (dv->title.empty())
return;
for (i = 0; i<strlen(dv->title.c_str()); i++)