diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c index c60a1e01..2e501f2a 100644 --- a/src/bin/termptyesc.c +++ b/src/bin/termptyesc.c @@ -3017,8 +3017,8 @@ _handle_resize_by_chars(Termpty *ty, Eina_Unicode **ptr) Eina_Unicode *b = *ptr; int w, h; - w = _csi_arg_get(ty, &b); h = _csi_arg_get(ty, &b); + w = _csi_arg_get(ty, &b); if ((w == -CSI_ARG_ERROR) || (h == -CSI_ARG_ERROR)) return; diff --git a/tests/resize_window_no_content_change.sh b/tests/resize_window_no_content_change.sh index 3772761d..e8740206 100755 --- a/tests/resize_window_no_content_change.sh +++ b/tests/resize_window_no_content_change.sh @@ -52,7 +52,7 @@ printf '\033[14;25Hzulu' printf '\033}tr\0' #resize window to half width (shall display the same) -printf '\033[8;40;;t' +printf '\033[8;;40;t' # force render printf '\033}tr\0'