forked from rosebudai/OpenRCT2-Web
don't show IP address when hovering over servers for basic security
This commit is contained in:
1 parent
43b31c25a1
commit
292ce3b103
1 file changed
+2
-4
@@ -403,13 +403,11 @@ static void window_server_list_scrollpaint(rct_window *w, rct_drawpixelinfo *dpi
|
||||
}
|
||||
|
||||
// Draw server information
|
||||
if (highlighted) {
|
||||
gfx_draw_string(dpi, serverDetails->address, colour, 3, y + 3);
|
||||
if (highlighted && !str_is_null_or_empty(serverDetails->description)) {
|
||||
gfx_draw_string(dpi, serverDetails->description, colour, 3, y + 3);
|
||||
} else {
|
||||
gfx_draw_string(dpi, serverDetails->name, colour, 3, y + 3);
|
||||
}
|
||||
//gfx_draw_string(dpi, serverDetails->description, w->colours[1], 3, y + 14);
|
||||
|
||||
|
||||
int right = width - 3 - 14;
|
||||
|
||||
|
||||
Reference in new issue
Block a user