Skip to content
Permalink
Browse files

there's no sanity in all this madness

  • Loading branch information
burner1024 committed Feb 11, 2020
1 parent 35b48d1 commit 3b62e4c233142ca2661effd6f03e6fd195690042
Showing with 1 addition and 1 deletion.
  1. +1 −1 tnt/lib/macro.tpa
@@ -5,7 +5,7 @@ BEGIN
PATCH_PRINT "columns: %columns%"
READ_2DA_ENTRIES_NOW rows (columns - 1) //top row/first column is normally empty
PATCH_PRINT "rows: %rows%"
FOR (c=1; c<columns; ++c) BEGIN
FOR (c=0; c<(columns - 1); ++c) BEGIN //weidu counts from the first field, so first named column starts from index 0, too ("shifted to the left" by one)
READ_2DA_ENTRY_FORMER rows 0 c name
PATCH_PRINT "col: %c%, name: %name%"
TEXT_SPRINT $col_index("%name%") c

0 comments on commit 3b62e4c

Please sign in to comment.
You can’t perform that action at this time.