Changeset 14360 in josm for trunk/src/org
- Timestamp:
- 2018-10-25T21:46:08+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r14329 r14360 1168 1168 if (tile.hasError() && getDisplaySettings().isShowErrors()) { 1169 1169 String errorMessage = tr(tile.getErrorMessage()); 1170 if (!errorMessage.startsWith("Error") && !errorMessage.startsWith(tr("Error"))) { 1171 errorMessage = tr("Error") + ": " + errorMessage; 1172 } 1173 myDrawString(g, errorMessage, x + 2, texty); 1170 if (errorMessage != null) { 1171 if (!errorMessage.startsWith("Error") && !errorMessage.startsWith(tr("Error"))) { 1172 errorMessage = tr("Error") + ": " + errorMessage; 1173 } 1174 myDrawString(g, errorMessage, x + 2, texty); 1175 } 1174 1176 //texty += 1 + fontHeight; 1175 1177 }
Note:
See TracChangeset
for help on using the changeset viewer.