GUAC-1452: Fix inverted logic for typescript alloc return value.
This commit is contained in:
parent
6297f11724
commit
0d5355560e
@ -1842,7 +1842,7 @@ int guac_terminal_create_typescript(guac_terminal* term, const char* path,
|
|||||||
term->typescript = guac_terminal_typescript_alloc(path, name, create_path);
|
term->typescript = guac_terminal_typescript_alloc(path, name, create_path);
|
||||||
|
|
||||||
/* Typescript creation failed if NULL */
|
/* Typescript creation failed if NULL */
|
||||||
return term->typescript != NULL;
|
return term->typescript == NULL;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user