lib/jkf/converter/csa.rb in jkf-0.4.3 vs lib/jkf/converter/csa.rb in jkf-0.5.0
- old
+ new
@@ -88,10 +88,10 @@
result += csa_color(color) if color
result + special
end
def convert_time(time)
- sec = time["now"]["m"] * 60 + time["now"]["s"]
+ sec = (time["now"]["m"] * 60) + time["now"]["s"]
"T#{sec}\n"
end
def convert_comments(comments)
comments.map { |comment| "'#{comment}" }.join("\n") + "\n"