mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22:48 -05:00
Formatting: miscellaneous.
This patch fixes a few other whitespace and formatting issues which were pointed out by the bulk-reindent or which I spotted in passing, some involving manual editing to break lines more nicely. I think the weirdest hunk in here is the one in windows/window.c TranslateKey() where _half_ of an assignment statement inside an 'if' was on the same line as the trailing paren of the if condition. No idea at all how that one managed to happen!
This commit is contained in:
@ -586,7 +586,7 @@ static void load_module(
|
||||
#define TRY_WRAP(fn, pre, post) do \
|
||||
{ \
|
||||
static bool done_this_one = false; \
|
||||
try_wrap_fn(module, fn, pre, post, &done_this_one); \
|
||||
try_wrap_fn(module, fn, pre, post, &done_this_one); \
|
||||
} while (0)
|
||||
|
||||
if (loaded) {
|
||||
|
@ -1575,7 +1575,7 @@ OPTIONAL_PTR_FUNC(string)
|
||||
static void handle_##fname(BinarySource *_in, strbuf *_out) { \
|
||||
ARGS_##fname _args = get_args_##fname(_in); \
|
||||
(void)_args; /* suppress warning if no actual arguments */ \
|
||||
return_##outtype(_out, JUXTAPOSE2(realname, (__VA_ARGS__))); \
|
||||
return_##outtype(_out, JUXTAPOSE2(realname, (__VA_ARGS__))); \
|
||||
}
|
||||
#include "testcrypt-func.h"
|
||||
#undef FUNC_INNER
|
||||
|
Reference in New Issue
Block a user