diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-04-04 18:47:34 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-04-04 18:47:34 +0200 |
| commit | 6ffdfd77353748f855b1528cdc6ca44b7154bfe3 (patch) | |
| tree | dc85f02e9867f180161fef0c2d179b3140601c17 /src/commands.cc | |
| parent | 1822b81d58a7106fabf223c0709ff2fbd913c119 (diff) | |
Add get_color helper function
Diffstat (limited to 'src/commands.cc')
| -rw-r--r-- | src/commands.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commands.cc b/src/commands.cc index af771891..819cebb7 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -684,8 +684,7 @@ void info(const CommandParameters& params, Context& context) pos = context.window().display_position(it); } const String& message = parser.has_option("assist") ? assist(parser[0], dimensions.column) : parser[0]; - ColorPair colors = ColorRegistry::instance()["Information"]; - context.ui().info_show(message, pos, colors, style); + context.ui().info_show(message, pos, get_color("Information"), style); } } |
