aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/p-lang.c')
-rw-r--r--gdb/p-lang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/p-lang.c b/gdb/p-lang.c
index 1d8e940..3dcc75a 100644
--- a/gdb/p-lang.c
+++ b/gdb/p-lang.c
@@ -109,7 +109,7 @@ pascal_is_string_type (struct type *type,int *length_pos, int *length_size,
*string_pos = TYPE_FIELD_BITPOS (type, 1) / TARGET_CHAR_BIT;
if (char_type)
*char_type = TYPE_TARGET_TYPE (type->field (1).type ());
- if (arrayname)
+ if (arrayname)
*arrayname = TYPE_FIELD_NAME (type, 1);
return 2;
};
@@ -135,7 +135,7 @@ pascal_is_string_type (struct type *type,int *length_pos, int *length_size,
if ((*char_type)->code () == TYPE_CODE_ARRAY)
*char_type = TYPE_TARGET_TYPE (*char_type);
}
- if (arrayname)
+ if (arrayname)
*arrayname = TYPE_FIELD_NAME (type, 2);
return 3;
};