Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/markwal/GPX
Browse files Browse the repository at this point in the history
  • Loading branch information
markwal committed Jun 1, 2015
2 parents 87ad4c4 + bf5812e commit 4ac5380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpx/gpx.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ int gpx_set_machine(Gpx *gpx, const char *machine_type)
// if there's a gpx->iniPath + "/" + machine->type + ".ini" load it
// here recursively
char machineIni[1024];
machineIni[0];
machineIni[0] = 0;
int i = snprintf(machineIni, sizeof(machineIni), "%s/%s.ini", gpx->iniPath, machine->type);
if (i > 0 && i < sizeof(machineIni)) {
if (access(machineIni, R_OK) == SUCCESS) {
Expand Down

0 comments on commit 4ac5380

Please sign in to comment.