mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-25 20:23:12 +00:00
makeh:: fixed line numbering
This commit is contained in:
parent
64d0742343
commit
32b2f5169d
@ -35,7 +35,7 @@ int lineid;
|
|||||||
void gen(string sf) {
|
void gen(string sf) {
|
||||||
if(seen.count(sf)) return;
|
if(seen.count(sf)) return;
|
||||||
seen.insert(sf);
|
seen.insert(sf);
|
||||||
which_file = sf; lineid = -1;
|
which_file = sf; lineid = 1;
|
||||||
ifstream in(sf);
|
ifstream in(sf);
|
||||||
string s;
|
string s;
|
||||||
while(getline(in, s)) {
|
while(getline(in, s)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user