summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--phpdbg_set.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpdbg_set.c b/phpdbg_set.c
index 41abec103a..2cbb616777 100644
--- a/phpdbg_set.c
+++ b/phpdbg_set.c
@@ -75,6 +75,7 @@ void phpdbg_set_prompt_color(const char *color TSRMLS_DC) /* {{{ */
if (memcmp(color, *p, strlen(*p)+1) == 0) {
PHPDBG_G(prompt_color) = estrdup(*p);
phpdbg_set_prompt(PHPDBG_G(prompt_raw), *(p+1) TSRMLS_CC);
+ return;
}
} while (++p && *(++p));
} /* }}} */