gnome-inm-forecast (0.6.1-1.2) src/main.c

Summary

 src/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

--- gnome-inm-forecast-0.6.1.orig/src/main.c
+++ gnome-inm-forecast-0.6.1/src/main.c
@@ -591,7 +591,7 @@
 				if (strncmp(tokens[yy], "td ", 3) == 0) continue;
 				if (strncmp(tokens[yy], "nbsp", 4) == 0) continue;
 				//printf ("SNOW[%d]: %s - len: %d - idx: %d\n", yy,(tokens[yy]) ? tokens[yy] : NULL, strlen(tokens[yy]), idx);
-				if (tokens[yy] && idx <= 10){
+				if (tokens[yy] && idx < 10){
 					if (strlen(tokens[yy]) == 0){
 						if (idx == 0){
 							strcpy (applet_data->day_info[0].cota_nieve, "");