Minor fixes
All checks were successful
Altlinux build / build-alt (push) Successful in 2m39s
Archlinux build / build-arch (push) Successful in 3m4s
Archlinux build / make-test (push) Successful in 1m1s
Debian build / build-ubuntu (push) Successful in 3m50s

This commit is contained in:
Alexey Khromov 2025-05-02 00:16:29 +03:00
parent 2a1f00c21f
commit 07b64ce968
2 changed files with 8 additions and 0 deletions

2
debian/changelog vendored
View File

@ -1,6 +1,8 @@
bforce (0.27.1) UNRELEASED; urgency=medium
* Fixed clear flags on points in nlookup if none
-- Alexey Khromov <zx@zxalexis.ru> Thu, 01 May 2025 22:19:54 +0300
bforce (0.27) UNRELEASED; urgency=medium

View File

@ -223,6 +223,12 @@ char *string_chomp(char *str)
if( *str )
{
for (p = str; p < (str + strlen(str)); p++){
if( *p == '\n')
*p = '\0';
if( *p == '\r')
*p = '\0';
}
p = str + strlen(str + 1);
if( *p == '\n' )
*p-- = '\0';