[hackers] [tabbed][PATCH] arg.h: optimization

2021-07-03 Thread Nikita Zlobin
--- arg.h | 37 ++--- 1 file changed, 14 insertions(+), 23 deletions(-) diff --git a/arg.h b/arg.h index ac5824e..ee0bbc6 100644 --- a/arg.h +++ b/arg.h @@ -14,8 +14,7 @@ extern char *argv0; argv[0] && argv[0][0] == '-' && argv[0][1];

[hackers] [tabbed][PATCH] arg.h: optimization

2021-07-03 Thread Nikita Zlobin
- option argument functions are almost same, differing in one line - renamed argc_ to arg_ to clear difference - no need in argv_ comparison, since brk_ is set anyway - deduplicated same calculation --- arg.h | 37 ++--- 1 file changed, 14 insertions(+), 23

[hackers] [svkbd] no need to initialize these variables here || Hiltjo Posthuma

2021-07-03 Thread git
commit 4c9182636c4db00eb8bfa92571f7917ad974b628 Author: Hiltjo Posthuma AuthorDate: Sat Jul 3 11:45:15 2021 +0200 Commit: Hiltjo Posthuma CommitDate: Sat Jul 3 11:45:15 2021 +0200 no need to initialize these variables here diff --git a/svkbd.c b/svkbd.c index c72f059..875a0b5

[hackers] [svkbd] small code-style changes || Hiltjo Posthuma

2021-07-03 Thread git
commit 2a2acdacaa3655819af6ea308ffee98dbedb33f9 Author: Hiltjo Posthuma AuthorDate: Sat Jul 3 11:45:05 2021 +0200 Commit: Hiltjo Posthuma CommitDate: Sat Jul 3 11:45:05 2021 +0200 small code-style changes diff --git a/layout.mobile-intl.h b/layout.mobile-intl.h index

[hackers] [svkbd] check key for NULL dereference, just in case || Hiltjo Posthuma

2021-07-03 Thread git
commit 81c96cec89dd280cab71170f50b9c088476d263c Author: Hiltjo Posthuma AuthorDate: Sat Jul 3 11:44:18 2021 +0200 Commit: Hiltjo Posthuma CommitDate: Sat Jul 3 11:44:18 2021 +0200 check key for NULL dereference, just in case This matches the check pattern in other parts of

[hackers] [svkbd] adjust other layouts for the second label change || Hiltjo Posthuma

2021-07-03 Thread git
commit fd0132256402069a3f045d677f53cc2a1b5340e2 Author: Hiltjo Posthuma AuthorDate: Sat Jul 3 11:30:53 2021 +0200 Commit: Hiltjo Posthuma CommitDate: Sat Jul 3 11:30:53 2021 +0200 adjust other layouts for the second label change From the commit: commit

[hackers] [svkbd] Fix broken key definitions in layout.en.h || Sebastian LaVine

2021-07-03 Thread git
commit e2dff73599425ab0e9912cdba00628cc1eed60a0 Author: Sebastian LaVine AuthorDate: Fri Jul 2 15:23:07 2021 -0400 Commit: Hiltjo Posthuma CommitDate: Sat Jul 3 11:02:50 2021 +0200 Fix broken key definitions in layout.en.h There were two problems with this file.