Skip to content

Commit

Permalink
fixing nc-ng for issue #59 too
Browse files Browse the repository at this point in the history
and a version bump
  • Loading branch information
eteran committed Sep 14, 2018
1 parent 690445f commit 41d0c73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Util/FileSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,10 @@ QString NormalizePathname(const QString &pathname) {


QString cleanedPath = QDir::cleanPath(path);
QFileInfo cleanedFi(cleanedPath);

// IFF it is a directory, insist that it ends in a slash
if(fi.isDir()) {
if(cleanedFi.isDir()) {
if(!cleanedPath.endsWith(QLatin1Char('/'))) {
cleanedPath.append(QLatin1Char('/'));
}
Expand Down
2 changes: 1 addition & 1 deletion Util/include/Util/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#define VERSION_H_

constexpr auto NEDIT_VERSION_MAJ = 2018;
constexpr auto NEDIT_VERSION_REV = 11;
constexpr auto NEDIT_VERSION_REV = 12;
constexpr auto NEDIT_VERSION = (NEDIT_VERSION_MAJ * 1000 + NEDIT_VERSION_REV);

#endif

0 comments on commit 41d0c73

Please sign in to comment.