--- sort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sort.c b/sort.c index 3697b42..901189e 100644 --- a/sort.c +++ b/sort.c _AT_@ -157,7 +157,7 @@ parse_keydef(struct keydef *kd, char *s, int flags) return -1; if (*rest == ',') { kd->end_column = strtol(rest+1, &rest, 10); - if (kd->end_column && kd->end_column < kd->start_column) + if (kd->end_column < 1) return -1; if (*rest == '.') { kd->end_char = strtol(rest+1, &rest, 10); -- 1.9.1 --------------040704000603020308090309--Received on Mon Sep 17 2001 - 00:00:00 CEST
This archive was generated by hypermail 2.3.0 : Sun Apr 05 2015 - 22:48:04 CEST