[Pkg-wmaker-commits] [wmfrog] 51/145: Fixed fractional visibility issues
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sun Aug 23 05:46:21 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmfrog.
commit e06e3209429c38046bccc6d93ada24b9cd272f58
Author: tcolar <devnull at localhost>
Date: Wed Dec 1 11:38:45 2010 -0800
Fixed fractional visibility issues
---
wmfrog/Src/weather.pl | 10 +++++-----
wmfrog/dist/weather.pl | 10 +++++-----
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/wmfrog/Src/weather.pl b/wmfrog/Src/weather.pl
index 5ceeccd..7933392 100755
--- a/wmfrog/Src/weather.pl
+++ b/wmfrog/Src/weather.pl
@@ -109,11 +109,11 @@ debug("vis: $visibility");
#{
# $i++; # visibility with fractions, not using
#}
-#$next=@args[$i];
-#if($next=~m/FT/)
-#{
-# $i++; # visibility in feet, not using
-#}
+$next=@args[$i];
+if($next=~m/\//)
+{
+ $i++; # fractional visibility, skipping
+}
$tmp="";
$weather="";
diff --git a/wmfrog/dist/weather.pl b/wmfrog/dist/weather.pl
index 5ceeccd..7933392 100755
--- a/wmfrog/dist/weather.pl
+++ b/wmfrog/dist/weather.pl
@@ -109,11 +109,11 @@ debug("vis: $visibility");
#{
# $i++; # visibility with fractions, not using
#}
-#$next=@args[$i];
-#if($next=~m/FT/)
-#{
-# $i++; # visibility in feet, not using
-#}
+$next=@args[$i];
+if($next=~m/\//)
+{
+ $i++; # fractional visibility, skipping
+}
$tmp="";
$weather="";
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmfrog.git
More information about the Pkg-wmaker-commits
mailing list