[Groonga-commit] groonga/grntest [master] Fix broken 8 color conversion

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Aug 11 20:38:22 JST 2012


Kouhei Sutou	2012-08-11 20:38:22 +0900 (Sat, 11 Aug 2012)

  New Revision: 71faae5c8c0aad6f6c3b0cbdcddd2e6501346cd5
  https://github.com/groonga/grntest/commit/71faae5c8c0aad6f6c3b0cbdcddd2e6501346cd5

  Log:
    Fix broken 8 color conversion

  Modified files:
    lib/groonga/tester.rb

  Modified: lib/groonga/tester.rb (+1 -1)
===================================================================
--- lib/groonga/tester.rb    2012-08-11 20:36:11 +0900 (99c6341)
+++ lib/groonga/tester.rb    2012-08-11 20:38:22 +0900 (d83ceee)
@@ -1664,7 +1664,7 @@ EOF
             else
               color_parameter = foreground_p ? 3 : 4
               color_parameter += 6 if command[:intensity]
-              color = COLOR_NAMES[command[:color]]
+              color = COLOR_NAMES.index(command[:color])
               sequence << "#{color_parameter}#{color}"
             end
           end
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index