From 8c7dd2ed301b343f627b64102f245ccca0c7be17 Mon Sep 17 00:00:00 2001 From: Matthew McClaskey Date: Tue, 30 Jan 2024 16:44:31 +0000 Subject: [PATCH] KASM-5524 negative numbers on text rotation watermark --- unix/vncserver | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/vncserver b/unix/vncserver index 23e127d..ecdec9e 100755 --- a/unix/vncserver +++ b/unix/vncserver @@ -1871,7 +1871,7 @@ sub DefineConfigToCLIConversion { isValidCallback => sub { my $value = shift; - return 0 unless $value =~ /^\d+$/; + return 0 unless $value =~ /^-?\d+$/; $value >= -359 && $value <= 359; },