Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 306617 | Differences between
and this patch

Collapse All | Expand All

(-)quake3-1.36/code/botlib/l_precomp.c~ (-1 / +1 lines)
Lines 948-954 void PC_ConvertPath(char *path) Link Here
948
		if ((*ptr == '\\' || *ptr == '/') &&
948
		if ((*ptr == '\\' || *ptr == '/') &&
949
				(*(ptr+1) == '\\' || *(ptr+1) == '/'))
949
				(*(ptr+1) == '\\' || *(ptr+1) == '/'))
950
		{
950
		{
951
			strcpy(ptr, ptr+1);
951
			memmove(ptr, ptr+1, strlen(ptr));
952
		} //end if
952
		} //end if
953
		else
953
		else
954
		{
954
		{
(-)quake3-1.36/code/botlib/l_script.c~ (-2 / +2 lines)
Lines 1118-1124 void StripDoubleQuotes(char *string) Link Here
1118
{
1118
{
1119
	if (*string == '\"')
1119
	if (*string == '\"')
1120
	{
1120
	{
1121
		strcpy(string, string+1);
1121
		memmove(string, string+1, strlen(string));
1122
	} //end if
1122
	} //end if
1123
	if (string[strlen(string)-1] == '\"')
1123
	if (string[strlen(string)-1] == '\"')
1124
	{
1124
	{
Lines 1135-1141 void StripSingleQuotes(char *string) Link Here
1135
{
1135
{
1136
	if (*string == '\'')
1136
	if (*string == '\'')
1137
	{
1137
	{
1138
		strcpy(string, string+1);
1138
		memmove(string, string+1, strlen(string));
1139
	} //end if
1139
	} //end if
1140
	if (string[strlen(string)-1] == '\'')
1140
	if (string[strlen(string)-1] == '\'')
1141
	{
1141
	{

Return to bug 306617