Skip to content

Commit

Permalink
fix(falsecolor): fix issue with -lw 0 under Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregungory committed Oct 14, 2020
1 parent 9f2431c commit 6e0e30e
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/px/falsecolor.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/perl -w
# RCSid $Id: falsecolor.pl,v 2.16 2020/01/06 17:03:26 greg Exp $
# RCSid $Id: falsecolor.pl,v 2.17 2020/10/14 02:39:10 greg Exp $

use warnings;
use strict;
Expand Down Expand Up @@ -350,12 +350,8 @@
} else {
# Create dummy colour scale and legend labels so we don't
# need to change the final command line.
open(FHscolpic, ">$scolpic");
print FHscolpic "\n-Y 1 +X 1\naaa\n";
close(FHscolpic);
open(FHslabpic, ">$slabpic");
print FHslabpic "\n-Y 1 +X 1\naaa\n";
close(FHslabpic);
system "pcomb -x 1 -y 1 -e lo=1 > $scolpic";
system "pcomb -x 1 -y 1 -e lo=1 > $slabpic";
}

# Legend: Invert the text labels (for dropshadow)
Expand Down

0 comments on commit 6e0e30e

Please # to comment.