aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/c_hardflip.go2
-rw-r--r--src/c_init.go2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/c_hardflip.go b/src/c_hardflip.go
index 02433ce..a93be06 100644
--- a/src/c_hardflip.go
+++ b/src/c_hardflip.go
@@ -64,6 +64,6 @@ type HardData struct {
func main() {
data_dir := c_get_data_dir(nil)
- opts := HardOpts{true, true, "plainq", false, ""}
+ opts := HardOpts{true, true, "rbo", false, ""}
i_ui(data_dir, opts)
}
diff --git a/src/c_init.go b/src/c_init.go
index 85eb9c8..f09da57 100644
--- a/src/c_init.go
+++ b/src/c_init.go
@@ -56,6 +56,7 @@ import (
"fmt"
"os"
"path/filepath"
+ "strings"
)
type HardOpts struct {
@@ -107,6 +108,7 @@ func c_recurse_data_dir(dir, root string, opts HardOpts,
dir, filename, err)
*load_err = append(*load_err, errors.New(str))
}
+ host_node.Pass = strings.TrimSuffix(host_node.Pass, "\n")
}
dir_node.lhost.add_back(host_node)
}