Skip to content

Commit

Permalink
loadmap: Fix config file header
Browse files Browse the repository at this point in the history
The config files use INI-like format but require C-like comments..
  • Loading branch information
mefistotelis committed Jun 19, 2024
1 parent e9d04f2 commit 9df328e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LoadMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ bool write_config_file(
if (fh == -1)
return false;

qsnprintf(szLine, sizeof(szLine), ";\n; LoadMap Plugin auto-saved configuration file\n;\n");
qsnprintf(szLine, sizeof(szLine), "//\n// LoadMap Plugin auto-saved configuration file\n//\n");
qwrite(fh, szLine, qstrlen(szLine));

// Write config in normal IDA format (like the files in IDA/cfg folder).
Expand Down

0 comments on commit 9df328e

Please sign in to comment.