Skip to content

Commit 69cf4d4

Browse files
committed
fix lint
1 parent 62272b2 commit 69cf4d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ruisapp/glue/linux/xorg/display.hxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ public:
8181
gtk_init();
8282

8383
auto disp = gdk_display_open(
84-
// We have to use NULL here because on Wayland it cannot connect to :0 X display even if XWayland is enabled,
84+
// We have to use nullptr here because on Wayland it cannot connect to :0 X display even if XWayland is enabled,
8585
// because the display name in that case is 'wayland-0'.
86-
// Using NULL here makes it detect the correct display automatically.
87-
NULL
86+
// Using nullptr here makes it detect the correct display automatically.
87+
nullptr
8888
);
8989
utki::assert(disp, SL);
9090
std::cout << "gdk display name = " << gdk_display_get_name(disp) << std::endl;

0 commit comments

Comments
 (0)