remove duplicate line

This commit is contained in:
yugecin 2017-05-01 23:14:17 +02:00
parent acd27b1743
commit 0a0320e81a

View File

@ -287,7 +287,6 @@ public class DisplayContainer implements ErrorDumpable, KeyListener, MouseListen
final Object[] resolutions = OPTION_SCREEN_RESOLUTION.getListItems(); final Object[] resolutions = OPTION_SCREEN_RESOLUTION.getListItems();
final String nativeRes = width + "x" + height; final String nativeRes = width + "x" + height;
resolutions[0] = nativeRes; resolutions[0] = nativeRes;
OPTION_SCREEN_RESOLUTION.getListItems()[0] = width + "x" + height;
for (int i = 0; i < resolutions.length; i++) { for (int i = 0; i < resolutions.length; i++) {
if (nativeRes.equals(resolutions[i].toString())) { if (nativeRes.equals(resolutions[i].toString())) {
resolutions[i] = resolutions[i] + " (borderless)"; resolutions[i] = resolutions[i] + " (borderless)";