Skip to content

Commit

Permalink
Fliesskommazahl fuer Version vermeiden
Browse files Browse the repository at this point in the history
  • Loading branch information
thierer committed Jul 23, 2020
1 parent ea74d9f commit 9ad4a32
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mtap.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
#include <crt0.h>


#define VERSION 0.36
#define VERSION_MAJOR 0
#define VERSION_MINOR 36

#define STAT_PORT (port+1)
#define CTRL_PORT (port+2)
Expand Down Expand Up @@ -550,7 +551,7 @@ int main(int argc, char **argv)
int machine;
int video_standard;

printf("\nmtap - Commodore TAP file Generator v%.2f\n\n", VERSION);
printf("\nmtap - Commodore TAP file Generator v%d.%02d\n\n", VERSION_MAJOR, VERSION_MINOR);

lptnum = 1;
cable = ADAPTER;
Expand Down

0 comments on commit 9ad4a32

Please sign in to comment.