Ignore:
Timestamp:
2012-04-12T13:42:54+02:00 (14 years ago)
Author:
simon04
Message:

JOSM/i18n: correct number of newlines in convpreset, test for existing URL in convwms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/i18n/convwms.pl

    r26939 r28252  
    2121if($ARGV[0] && $ARGV[0] =~ /^http:\/\//)
    2222{
    23   @lines = split("\r?\n", get($ARGV[0]));
     23  my $content = get($ARGV[0]);
     24  die "Couldn't get $ARGV[0]" unless defined $content;
     25  @lines = split("\r?\n", $content);
    2426}
    2527else
Note: See TracChangeset for help on using the changeset viewer.