diff options
author | lioux <lioux@FreeBSD.org> | 2001-08-26 07:26:50 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-08-26 07:26:50 +0800 |
commit | cd8ae8f90f91a9ab25c17e227429e6adb95da60a (patch) | |
tree | 8b088551b15302d866b50016ca91290899b0bde9 /misc/gkrellweather | |
parent | 3507a35af82fcd6e62c27a5f582e281d125c0e95 (diff) | |
download | freebsd-ports-gnome-cd8ae8f90f91a9ab25c17e227429e6adb95da60a.tar.gz freebsd-ports-gnome-cd8ae8f90f91a9ab25c17e227429e6adb95da60a.tar.zst freebsd-ports-gnome-cd8ae8f90f91a9ab25c17e227429e6adb95da60a.zip |
gkrellweather currently displays 100% humidity as 10%. Fix it
PR: 29894
Submitted by: MAINTAINER
Diffstat (limited to 'misc/gkrellweather')
-rw-r--r-- | misc/gkrellweather/files/patch-gkrellweather.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/misc/gkrellweather/files/patch-gkrellweather.c b/misc/gkrellweather/files/patch-gkrellweather.c new file mode 100644 index 000000000000..0ca4ad3aafe1 --- /dev/null +++ b/misc/gkrellweather/files/patch-gkrellweather.c @@ -0,0 +1,29 @@ +--- gkrellweather.c.orig Sun May 20 03:04:50 2001 ++++ gkrellweather.c Mon Aug 20 05:21:41 2001 +@@ -243,7 +243,7 @@ + decal_unit2->w; + decal_temperature->x = (gkrellm_chart_width() - w + 1) / 2 + 1; + decal_unit1->x = decal_temperature->x + decal_temperature->w - 1; +- decal_humidity->x = decal_unit1->x + decal_unit1->w + 1; ++ decal_humidity->x = decal_unit1->x + decal_unit1->w; + decal_unit2->x = decal_humidity->x + decal_humidity->w - 1; + break; + } +@@ -500,7 +500,7 @@ + ext_unit1.ts = *gkrellm_meter_textstyle(cal_style_id); + string_extents("C", &ext_unit1); + ext_humidity.ts = *gkrellm_meter_alt_textstyle(clock_style_id); +- string_extents("88", &ext_humidity); ++ string_extents("888", &ext_humidity); + ext_unit2.ts = *gkrellm_meter_textstyle(cal_style_id); + string_extents("%", &ext_unit2); + ext_dew_point.ts = *gkrellm_meter_alt_textstyle(clock_style_id); +@@ -522,7 +522,7 @@ + &ext_temperature.ts, style, 0, 3, ext_temperature.width + 2); + decal_unit1 = gkrellm_create_decal_text(panel, "C", &ext_unit1.ts, + style, 0, 3, ext_unit1.width + 2); +- decal_humidity = gkrellm_create_decal_text(panel, "88", &ext_humidity.ts, ++ decal_humidity = gkrellm_create_decal_text(panel, "888", &ext_humidity.ts, + style, 0, 3, ext_humidity.width + 2); + decal_unit2 = gkrellm_create_decal_text(panel, "%", &ext_unit2.ts, + style, 0, 3, ext_unit2.width + 2); |