Skip to content

Commit

Permalink
FIX: genf macro lineno
Browse files Browse the repository at this point in the history
  • Loading branch information
ismagilli committed Feb 23, 2024
1 parent d4652fb commit 8831180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nob.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void log_config(Nob_Log_Level level)
#define genf(out, ...) \
do { \
fprintf((out), __VA_ARGS__); \
fprintf((out), " // %s:%d\n", __FILE__, __LINE__ - 1); \
fprintf((out), " // %s:%d\n", __FILE__, __LINE__); \
} while(0)

typedef struct {
Expand Down

0 comments on commit 8831180

Please sign in to comment.