[gnome-control-center] mouse-test: Remove useless unreachable closing markup in GEGL message



commit d3e6a1d73d29c20c5c23d139a778c3fb63961008
Author: vanadiae <vanadiae35 gmail com>
Date:   Fri Nov 27 22:46:30 2020 +0100

    mouse-test: Remove useless unreachable closing markup in GEGL message
    
    This markup isn't needed since it's already added later in the function.
    Also, it was ignored because of some dark magic with the comma operator
    (which shouldn't have been there to begin with). That's why it wasn't
    discovered earlier.
    See https://en.cppreference.com/w/c/language/operator_other#Comma_operator
    for some explanation on how the comma operator works.

 panels/mouse/cc-mouse-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/mouse/cc-mouse-test.c b/panels/mouse/cc-mouse-test.c
index 35f337df7..e7e5c59cf 100644
--- a/panels/mouse/cc-mouse-test.c
+++ b/panels/mouse/cc-mouse-test.c
@@ -134,7 +134,7 @@ setup_information_label (CcMouseTest *self)
        }
 
        if (self->double_click_state == DOUBLE_CLICK_TEST_GEGL) {
-               message = _("Five clicks, GEGL time!"), "</b>";
+               message = _("Five clicks, GEGL time!");
        } else {
                double_click = (self->double_click_state >= DOUBLE_CLICK_TEST_ON);
                switch (self->button_state) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]