From 87110fbe354e0734c2436351055cdb240feda811 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 4 Jun 2024 15:03:25 -0400 Subject: Avoid use of "#if 0" as a supercomment Mainly because clang-tidy complains about it. --- src/Canvas.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Canvas.cpp b/src/Canvas.cpp index fb4e8f7..b4a8391 100644 --- a/src/Canvas.cpp +++ b/src/Canvas.cpp @@ -3959,11 +3959,11 @@ ganv_canvas_set_scroll_region(GanvCanvas* canvas, scroll_to(canvas, xofs, yofs); canvas->impl->need_repick = TRUE; -#if 0 /* todo: should be requesting update */ + /* (*GANV_ITEM_CLASS(canvas->impl->root->object.klass)->update)( canvas->impl->root, NULL, NULL, 0); -#endif + */ } void -- cgit v1.2.1