remove some GNUisms. by Dan Fandrich (dan AT coneharvesters.com)
[platform/upstream/busybox.git] / miscutils / less.c
index bd85506..ce77ddd 100644 (file)
@@ -624,7 +624,7 @@ static void print_found(const char *line)
 
        while (match_status == 0) {
                char *new = xasprintf("%s%.*s"HIGHLIGHT"%.*s"NORMAL,
-                               growline ? : "",
+                               growline ? growline : "",
                                match_structs.rm_so, str,
                                match_structs.rm_eo - match_structs.rm_so,
                                                str + match_structs.rm_so);