summaryrefslogtreecommitdiffstats
path: root/src/gui_photon.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-01-22 21:14:53 +0000
committerBram Moolenaar <Bram@vim.org>2023-01-22 21:14:53 +0000
commitebfec1c531f32d424bb2aca6e7391ef3bfcbfe20 (patch)
treed017ab5fcc15f2eef851de089c3b2aef39d7a387 /src/gui_photon.c
parent3d79f0a4309995956bd8889940cca22f7a15881d (diff)
patch 9.0.1234: the code style has to be checked manuallyv9.0.1234
Problem: The code style has to be checked manually. Solution: Add basic code style checks in a test. Fix or avoid uncovered problems.
Diffstat (limited to 'src/gui_photon.c')
-rw-r--r--src/gui_photon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui_photon.c b/src/gui_photon.c
index 5671890470..a17b4f5d03 100644
--- a/src/gui_photon.c
+++ b/src/gui_photon.c
@@ -361,7 +361,8 @@ gui_ph_handle_window_cb(PtWidget_t *widget, void *data, PtCallbackInfo_t *info)
PhWindowEvent_t *we = info->cbdata;
ushort_t *width, *height;
- switch (we->event_f) {
+ switch (we->event_f)
+ {
case Ph_WM_CLOSE:
gui_shell_closed();
break;