Skip to content

Commit 1311886

Browse files
committed
Fix bug in names of SessionSettings getPath() method
1 parent 489c27a commit 1311886

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

OpenBCI_GUI/SessionSettings.pde

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,14 +1027,14 @@ class SessionSettings {
10271027
} else if (dataSource == DATASOURCE_GANGLION) {
10281028
filePath += fileNames[2];
10291029
} else if (dataSource == DATASOURCE_PLAYBACKFILE) {
1030-
filePath += fileNames[4];
1030+
filePath += fileNames[3];
10311031
} else if (dataSource == DATASOURCE_SYNTHETIC) {
10321032
if (_nchan == NCHAN_GANGLION) {
1033-
filePath += fileNames[5];
1033+
filePath += fileNames[4];
10341034
} else if (_nchan == NCHAN_CYTON) {
1035-
filePath += fileNames[6];
1035+
filePath += fileNames[5];
10361036
} else {
1037-
filePath += fileNames[7];
1037+
filePath += fileNames[6];
10381038
}
10391039
}
10401040
}

0 commit comments

Comments
 (0)