Skip to content

Commit

Permalink
Fix empty TransLevel entry in csv
Browse files Browse the repository at this point in the history
  • Loading branch information
KingfuChan committed Oct 8, 2022
1 parent 80582d1 commit a2a9e7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TransitionLevel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void TransitionLevel::LoadCSV(string filename)
getline(ssin, qfestr, ',');
getline(ssin, rngstr, ',');
getline(ssin, bndstr);
int lvlft(m_PluginPtr->GetTransitionAltitude()), elevft(0), isqfe(0), rngnm(0);
int lvlft(0), elevft(0), isqfe(0), rngnm(0);
if (sscanf_s(lvlstr.c_str(), "F%d", &lvlft)) {
lvlft = lvlft * 100;
}
Expand Down
2 changes: 1 addition & 1 deletion Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#define VERSION_MAJOR 3
#define VERSION_MINOR 2
#define VERSION_REVISION 1
#define VERSION_BUILD 338
#define VERSION_BUILD 339

#define VERSION_FILE VERSION_MAJOR,VERSION_MINOR,VERSION_REVISION
#define VERSION_FILE_STR \
Expand Down

0 comments on commit a2a9e7a

Please sign in to comment.