@@ -1041,25 +1041,25 @@ int main (int argc, char *argv[])
1041
1041
1042
1042
1043
1043
1044
- symbols_get_description ('J' , 's' , description );
1044
+ symbols_get_description ('J' , 's' , description , strlen ( description ) );
1045
1045
if (strcmp (description , "Jet Ski" ) != 0 ) dw_printf ("ERROR 3-1\n" );
1046
1046
1047
- symbols_get_description ('/' , 'O' , description );
1047
+ symbols_get_description ('/' , 'O' , description , strlen ( description ) );
1048
1048
if (strcmp (description , "BALLOON" ) != 0 ) dw_printf ("ERROR 3-2\n" );
1049
1049
1050
- symbols_get_description ('\\' , 'T' , description );
1050
+ symbols_get_description ('\\' , 'T' , description , strlen ( description ) );
1051
1051
if (strcmp (description , "Thunderstorm" ) != 0 ) dw_printf ("ERROR 3-3\n" );
1052
1052
1053
- symbols_get_description ('5' , 'T' , description );
1053
+ symbols_get_description ('5' , 'T' , description , strlen ( description ) );
1054
1054
if (strcmp (description , "Thunderstorm w/overlay 5" ) != 0 ) dw_printf ("ERROR 3-4\n" );
1055
1055
1056
1056
// Expect to see this:
1057
1057
// Symbol table identifier is not '/' (primary), '\' (alternate), or valid overlay character.
1058
1058
1059
- symbols_get_description (' ' , 'T' , description );
1059
+ symbols_get_description (' ' , 'T' , description , strlen ( description ) );
1060
1060
if (strcmp (description , "--no-symbol--" ) != 0 ) dw_printf ("ERROR 3-5\n" );
1061
1061
1062
- symbols_get_description ('/' , ' ' , description );
1062
+ symbols_get_description ('/' , ' ' , description , strlen ( description ) );
1063
1063
if (strcmp (description , "--no-symbol--" ) != 0 ) dw_printf ("ERROR 3-6\n" );
1064
1064
1065
1065
0 commit comments