1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-23 15:36:59 +00:00

makeh:: fixed line numbering

This commit is contained in:
Zeno Rogue 2019-08-18 20:56:59 +02:00
parent 64d0742343
commit 32b2f5169d

View File

@ -35,7 +35,7 @@ int lineid;
void gen(string sf) {
if(seen.count(sf)) return;
seen.insert(sf);
which_file = sf; lineid = -1;
which_file = sf; lineid = 1;
ifstream in(sf);
string s;
while(getline(in, s)) {