mirror of
https://github.com/libimobiledevice/libimobiledevice-glue.git
synced 2026-04-17 19:27:31 +00:00
Fix unrecognized \e escape sequence
This commit is contained in:
+1
-1
@@ -182,7 +182,7 @@ int cvfprintf(FILE* stream, const char* fmt, va_list vargs)
|
||||
char* end = start + len + 1;
|
||||
while (p < end-1) {
|
||||
char* cur = p;
|
||||
if (*p == '\e' && end-p > 2 && *(p+1) == '[') {
|
||||
if (*p == '\x1b' && end-p > 2 && *(p+1) == '[') {
|
||||
p+=2;
|
||||
if (*p == 'm') {
|
||||
#ifdef _WIN32
|
||||
|
||||
Reference in New Issue
Block a user