1
0
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:
John Zaitseff 2011-07-18 17:21:54 +10:00
parent 1beb2003ef
commit 84b4972f93

View File

@ -521,8 +521,8 @@ void end_game (void)
This function displays the galaxy map on the screen. It uses the This function displays the galaxy map on the screen. It uses the
galaxy_map[][] global variable. If closewin is true, a prompt is shown 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 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 closewin is false, no prompt is shown, wrefresh() is NOT called and the
closed by the caller. text window must be closed by the caller.
*/ */
void show_map (bool closewin) void show_map (bool closewin)
@ -623,10 +623,6 @@ void show_map (bool closewin)
deltxwin(); // Wait for key window deltxwin(); // Wait for key window
deltxwin(); // Galaxy map window deltxwin(); // Galaxy map window
txrefresh(); txrefresh();
} else {
// Window must be closed by the caller
wrefresh(curwin);
} }
} }