Skip to content

Commit

Permalink
moved piectable into phi; file now saves w 0644
Browse files Browse the repository at this point in the history
  • Loading branch information
felixangell committed Jun 19, 2018
1 parent f97faad commit b942c22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gui/buffer.go
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/felixangell/fuzzysearch/fuzzy"
"github.com/felixangell/phi/cfg"
"github.com/felixangell/phi/lex"
"github.com/felixangell/piecetable"
"github.com/felixangell/phi/piecetable"
"github.com/felixangell/strife"
"github.com/sqweek/dialog"
"github.com/veandco/go-sdl2/sdl"
Expand Down
2 changes: 1 addition & 1 deletion gui/shortcuts.go
Expand Up @@ -115,7 +115,7 @@ func Save(v *View, commands []string) bool {
filePath = genFileName(dir, "", ext)
}

err := ioutil.WriteFile(filePath, buffer.Bytes(), 0775)
err := ioutil.WriteFile(filePath, buffer.Bytes(), 0644)
if err != nil {
log.Println(err.Error())
}
Expand Down
1 change: 1 addition & 0 deletions piecetable
Submodule piecetable added at 4446ba

0 comments on commit b942c22

Please sign in to comment.