Small fix setting default path

This commit is contained in:
Michiel Broek 2002-05-10 14:18:29 +00:00
parent 8bf5b4a3a3
commit 27084921d9

View File

@ -402,7 +402,7 @@ int EditFGrpRec(int Area)
case 1: if (CheckFgroup()) case 1: if (CheckFgroup())
break; break;
strcpy(fgroup.Name, edit_ups(6,16,12, fgroup.Name, (char *)"The ^name^ of this file group")); strcpy(fgroup.Name, edit_ups(6,16,12, fgroup.Name, (char *)"The ^name^ of this file group"));
if (strlen(mgroup.BasePath) == 0) { if (strlen(fgroup.BasePath) == 0) {
memset(&temp, 0, sizeof(temp)); memset(&temp, 0, sizeof(temp));
strcpy(temp, fgroup.Name); strcpy(temp, fgroup.Name);
for (i = 0; i < strlen(temp); i++) { for (i = 0; i < strlen(temp); i++) {