mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-22 13:31:08 +00:00
Fix indentation and a typo.
Signed-off-by: Ricky Zhang <rickyzhang@gmail.com>
This commit is contained in:
parent
93e800ffc7
commit
34cf1b0940
@ -496,7 +496,7 @@ void break_point_save(void)
|
|||||||
|
|
||||||
fprintf(file, STR_DISABLED_BREAK_POINTS);
|
fprintf(file, STR_DISABLED_BREAK_POINTS);
|
||||||
for (it = disabled_break_points.begin(); it != disabled_break_points.end(); it++)
|
for (it = disabled_break_points.begin(); it != disabled_break_points.end(); it++)
|
||||||
fprintf(file, "%x\n", *it);
|
fprintf(file, "%x\n", *it);
|
||||||
|
|
||||||
fclose(file);
|
fclose(file);
|
||||||
}
|
}
|
||||||
@ -528,7 +528,7 @@ void break_point_load(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
char line_buff[1024];
|
char line_buff[1024];
|
||||||
bool is_disabled_break_points = false;;
|
bool is_disabled_break_points = false;
|
||||||
|
|
||||||
if (fgets(line_buff, sizeof(line_buff), file) == NULL ||
|
if (fgets(line_buff, sizeof(line_buff), file) == NULL ||
|
||||||
strcmp(line_buff, STR_ACTIVE_BREAK_POINTS) != 0) {
|
strcmp(line_buff, STR_ACTIVE_BREAK_POINTS) != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user