mirror of
https://github.com/sharkcz/rkdeveloptool.git
synced 2024-11-22 14:06:47 +01:00
commit
953670e6ce
2
main.cpp
2
main.cpp
@ -1195,9 +1195,9 @@ static bool parseLoader(FILE* file) {
|
||||
if (fscanf(file, OPT_LOADER_NAME "%d=%s", &index, buf)
|
||||
!= 2)
|
||||
return false;
|
||||
index--;
|
||||
strcpy(gOpts.loader[index].name, buf);
|
||||
printf("name%d: %s\n", index, gOpts.loader[index].name);
|
||||
index++;
|
||||
}
|
||||
for (i=0; i<gOpts.loaderNum; i++) {
|
||||
if (SCANF_EAT(file) != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user