From 7ca2c5cb6563c61b5d41bf9d6b15a9b4f9cb8c17 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 10 Oct 2012 07:18:54 -0700 Subject: [PATCH] Actually set the correct color tags from the color picker buttons --- aegisub/src/command/edit.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aegisub/src/command/edit.cpp b/aegisub/src/command/edit.cpp index 921e29ffb..2a82aba8f 100644 --- a/aegisub/src/command/edit.cpp +++ b/aegisub/src/command/edit.cpp @@ -265,7 +265,7 @@ struct edit_color_secondary : public Command { STR_HELP("Secondary Color") void operator()(agi::Context *c) { - show_color_picker(c, &AssStyle::secondary, "\\c", "\\1c"); + show_color_picker(c, &AssStyle::secondary, "\\2c", ""); } }; @@ -276,7 +276,7 @@ struct edit_color_outline : public Command { STR_HELP("Outline Color") void operator()(agi::Context *c) { - show_color_picker(c, &AssStyle::outline, "\\c", "\\1c"); + show_color_picker(c, &AssStyle::outline, "\\3c", ""); } }; @@ -287,7 +287,7 @@ struct edit_color_shadow : public Command { STR_HELP("Shadow Color") void operator()(agi::Context *c) { - show_color_picker(c, &AssStyle::shadow, "\\c", "\\1c"); + show_color_picker(c, &AssStyle::shadow, "\\4c", ""); } };