Skip to content

Commit

Permalink
trim aircraft tail number string
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei Shuai committed Aug 22, 2018
1 parent 6b0740a commit 9542368
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/xtouchdownrecorder.c
Original file line number Diff line number Diff line change
Expand Up @@ -1039,6 +1039,7 @@ static void write_log_file()

num = XPLMGetDatab(tailRef, g_info->logAircraftTail, 0, 49);
g_info->logAircraftTail[num] = 0;
trimtail(g_info->logAircraftTail);

num = XPLMGetDatab(icaoRef, g_info->logAircraftIcao, 0, 39);
g_info->logAircraftIcao[num] = 0;
Expand Down

0 comments on commit 9542368

Please sign in to comment.