mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
trim off the trailing _ from method def names
This commit is contained in:
parent
2a73235d35
commit
3a99ab8cea
1 changed files with 2 additions and 1 deletions
|
@ -103,10 +103,11 @@ method_def (class_t *class, method_t *method)
|
|||
class->class_name,
|
||||
class->category_name ? class->category_name : "",
|
||||
method->name);
|
||||
str->str[--str->size - 1] = 0;
|
||||
for (s = str->str; *s; s++)
|
||||
if (*s == ':')
|
||||
*s = '_';
|
||||
//printf ("%s %s %s\n", method->name, method->types, str->str);
|
||||
//printf ("%s %s %s %ld\n", method->name, method->types, str->str, str->size);
|
||||
// FIXME need a file scope
|
||||
def = PR_GetDef (method->type, str->str, 0, &numpr_globals);
|
||||
dstring_delete (str);
|
||||
|
|
Loading…
Reference in a new issue