aboutsummaryrefslogtreecommitdiff
path: root/gdb/osdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/osdata.c')
-rw-r--r--gdb/osdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/osdata.c b/gdb/osdata.c
index 4b33ccb..84c4ed7 100644
--- a/gdb/osdata.c
+++ b/gdb/osdata.c
@@ -318,7 +318,7 @@ info_osdata (const char *type)
for a column named "Title", and only include it with MI
output; this column's normal use is for titles for interface
elements like menus, and it clutters up CLI output. */
- if (!type && !uiout->is_mi_like_p ())
+ if (*type == '\0' && !uiout->is_mi_like_p ())
{
struct osdata_column *col;
int ix;