commit 933f14983b524b573fce304a8546ad2b19743fab
parent 1f28445ddb655d4a19d5a35cbbea05f7c0887c8a
Author: Rich Lane <rlane@club.cc.cmu.edu>
Date: Mon, 7 Jun 2010 19:33:30 -0700
fix some indentation
Diffstat:
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/lib/sup.rb b/lib/sup.rb
@@ -305,14 +305,14 @@ Redwood::Logger.init.add_sink $stderr
include Redwood::LogsStuff
## determine encoding and character set
- $encoding = Locale.current.charset
- $encoding = "UTF-8" if $encoding == "utf8"
- if $encoding
- debug "using character set encoding #{$encoding.inspect}"
- else
- warn "can't find character set by using locale, defaulting to utf-8"
- $encoding = "UTF-8"
- end
+$encoding = Locale.current.charset
+$encoding = "UTF-8" if $encoding == "utf8"
+if $encoding
+ debug "using character set encoding #{$encoding.inspect}"
+else
+ warn "can't find character set by using locale, defaulting to utf-8"
+ $encoding = "UTF-8"
+end
require "sup/buffer"
require "sup/keymap"