aboutsummaryrefslogtreecommitdiff
path: root/html/pattern.html
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2022-07-31 09:00:21 +0100
committerSimon Tatham <anakin@pobox.com>2022-07-31 09:02:45 +0100
commitb34f8b1ee33163af988c75587e6ac99739b7684f (patch)
tree7ffad4814070b6b262b0a8a788fb238117de7782 /html/pattern.html
parentf0f974055b7f8ee91bae6505aad166923ec7117f (diff)
downloadpuzzles-b34f8b1ee33163af988c75587e6ac99739b7684f.zip
puzzles-b34f8b1ee33163af988c75587e6ac99739b7684f.tar.gz
puzzles-b34f8b1ee33163af988c75587e6ac99739b7684f.tar.bz2
puzzles-b34f8b1ee33163af988c75587e6ac99739b7684f.tar.xz
Style cleanups from the previous fixes.
Reordered the statements in the fixed Unruly blank_state so that there doesn't need to be a double if statement (and I think it's more sensible in any case to put each memset of a freshly allocated array immediately after the alloc). In GTK set_window_background, the nest of #ifdefs is now complicated enough to deserve a few comments on the #else and #endif lines. And while I was there I switched the gboolean to a bool, on my general principle that platform-specific boolean types are only worth using when you're passing them to a platform API function (and perhaps not even then, if it's not passed by reference).
Diffstat (limited to 'html/pattern.html')
0 files changed, 0 insertions, 0 deletions