Skip to content

Commit

Permalink
Merge pull request #222 from fox0430/develop
Browse files Browse the repository at this point in the history
v0.0.61
  • Loading branch information
fox0430 authored Apr 10, 2019
2 parents 4a2c795 + 0489eb9 commit 0d046e5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion moe.nimble
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Package

version = "0.0.6"
version = "0.0.61"
author = "fox0430"
description = "a command lined based text editor"
license = "GPLv3"
Expand Down
7 changes: 5 additions & 2 deletions src/moe.nim
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,13 @@ proc main() =
status.mode = filer
except OSError:
writeFileOpenErrorMessage(status.commandWindow, filename.toRunes)
status.bufStatus[0].filename = "".toRunes
status.bufStatus.add(BufferStatus(filename: "".toRunes))
status.bufStatus[0].buffer = newFile()
else: status.bufStatus[0].buffer = newFile()
else:
status.bufStatus.add(BufferStatus(filename: "".toRunes))
status.bufStatus[0].buffer = newFile()
else:
status.bufStatus.add(BufferStatus(filename: "".toRunes))
status.bufStatus[0].buffer = newFile()

if status.mode != filer:
Expand Down
2 changes: 1 addition & 1 deletion src/moepkg/cmdoption.nim
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ proc parseCommandLineOption*(line: seq[string]): ComdParsedList =
of cmdShortOption, cmdLongOption:
case key:
of "v", "version":
echo "v0.0.6"
echo "v0.0.61"
quit()
of cmdEnd:
assert(false)

0 comments on commit 0d046e5

Please sign in to comment.