mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
get selector naming (and method name mangline) right
This commit is contained in:
parent
411bddb0d8
commit
f0c5a374d2
1 changed files with 2 additions and 2 deletions
|
@ -125,7 +125,6 @@ method_def (class_type_t *class_type, method_t *method)
|
|||
class_name,
|
||||
category_name,
|
||||
method->name);
|
||||
str->str[--str->size - 1] = 0;
|
||||
for (s = str->str; *s; s++)
|
||||
if (*s == ':')
|
||||
*s = '_';
|
||||
|
@ -207,7 +206,8 @@ selector_name (dstring_t *sel_id, keywordarg_t *selector)
|
|||
dstring_clearstr (sel_id);
|
||||
while (selector && selector->selector) {
|
||||
dstring_appendstr (sel_id, selector->selector);
|
||||
dstring_appendstr (sel_id, ":");
|
||||
if (selector->expr)
|
||||
dstring_appendstr (sel_id, ":");
|
||||
selector = selector->next;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue