mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-23 06:56:21 +00:00
Declare counter var inside loop
We require c99/gnu99 anyways.
This commit is contained in:
@@ -190,8 +190,7 @@ _title_bar_draw(void)
|
||||
|
||||
werase(win);
|
||||
wmove(win, 0, 0);
|
||||
int i;
|
||||
for (i = 0; i < 45; i++) {
|
||||
for (int i = 0; i < 45; i++) {
|
||||
waddch(win, ' ');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user