Changeset 5852 in josm for trunk/src/org


Ignore:
Timestamp:
2013-04-14T10:51:14+02:00 (12 years ago)
Author:
stoecker
Message:

improve version string for linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java

    r5850 r5852  
    9696                input.close();
    9797                if (line != null && !line.isEmpty()) {
    98                     return line;
     98                    line = line.replaceAll("[\"']+","");
     99                    if(!line.isEmpty())
     100                        return "Linux " + line;
    99101                }
    100102            } catch (IOException e) {
Note: See TracChangeset for help on using the changeset viewer.