mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 06:48:47 +02:00
Make string concatenation more efficient.
This commit is contained in:
@@ -810,7 +810,7 @@ static int Add(void)
|
||||
return E_NO_MEM;
|
||||
}
|
||||
strcpy(v3.v.str, v1.v.str);
|
||||
strcat(v3.v.str, v2.v.str);
|
||||
strcpy(v3.v.str+l1, v2.v.str);
|
||||
DestroyValue(v1); DestroyValue(v2);
|
||||
PushValStack(v3);
|
||||
return OK;
|
||||
|
||||
Reference in New Issue
Block a user