mirror of
https://git.zap.org.au/git/trader.git
synced 2024-12-04 14:46:45 -05:00
Remove a superfluous call to wrefresh() in show_map()
This commit is contained in:
parent
1beb2003ef
commit
84b4972f93
@ -521,8 +521,8 @@ void end_game (void)
|
||||
This function displays the galaxy map on the screen. It uses the
|
||||
galaxy_map[][] global variable. If closewin is true, a prompt is shown
|
||||
for the user to press any key; the map window is then closed. If
|
||||
closewin is false, no prompt is shown and the text window must be
|
||||
closed by the caller.
|
||||
closewin is false, no prompt is shown, wrefresh() is NOT called and the
|
||||
text window must be closed by the caller.
|
||||
*/
|
||||
|
||||
void show_map (bool closewin)
|
||||
@ -623,10 +623,6 @@ void show_map (bool closewin)
|
||||
deltxwin(); // Wait for key window
|
||||
deltxwin(); // Galaxy map window
|
||||
txrefresh();
|
||||
} else {
|
||||
// Window must be closed by the caller
|
||||
|
||||
wrefresh(curwin);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user