UI: avoid comma which can be used in shortcuts
authorCampbell Barton <ideasman42@gmail.com>
Wed, 5 Sep 2018 04:03:28 +0000 (14:03 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 5 Sep 2018 04:03:28 +0000 (14:03 +1000)
source/blender/editors/interface/interface_region_tooltip.c

index 0e0ddc410b78b2451715e73105bc9c20484d25aa..3e1ef06c7b972b98bd12434067c3b038e485d048 100644 (file)
@@ -554,7 +554,7 @@ static uiTooltipData *ui_tooltip_data_from_tool(bContext *C, uiBut *but, bool is
                if (shortcut != NULL) {
                        if (is_label && field_title) {
                                char *text_prev = field_title->text;
-                               field_title->text = BLI_sprintfN(TIP_("%s, %s"), text_prev, shortcut);
+                               field_title->text = BLI_sprintfN(TIP_("%s: %s"), text_prev, shortcut);
                                MEM_freeN(text_prev);
                        }
                        else {