null+****@clear*****
null+****@clear*****
Mon Feb 13 16:11:44 JST 2012
Yoji SHIDARA 2012-02-13 16:11:44 +0900 (Mon, 13 Feb 2012) New Revision: c8e261a0dd1cacc45712c263b02f2f2ee1001dfc Merged 2b118b8: Merge pull request #41 from logaling/fix-for-single-glossary-problem Log: initiate glossary_name as empty string this will fix a problem caused when the user has only one glossary Modified files: lib/logaling/command/application.rb Modified: lib/logaling/command/application.rb (+1 -0) =================================================================== --- lib/logaling/command/application.rb 2012-02-08 21:32:47 +0900 (63849cb) +++ lib/logaling/command/application.rb 2012-02-13 16:11:44 +0900 (1dbf4e4) @@ -182,6 +182,7 @@ module Logaling::Command source_string = extract_source_string_and_coloring(term) target_string = term[:target_term].bright note = term[:note].to_s unless term[:note].empty? + glossary_name = "" if****@repos*****_counts > 1 glossary_name = term[:glossary_name] if term[:glossary_name] == @config["glossary"]