summaryrefslogtreecommitdiff
path: root/ldmicro/iolist.cpp
diff options
context:
space:
mode:
authorakshay-c2018-12-18 10:30:41 +0530
committerakshay-c2018-12-18 10:30:41 +0530
commit83c5de8e1cf0b957011a00edc3b1c62b55557e84 (patch)
tree1ec038e51307c70f55d70872f7752b41afa54254 /ldmicro/iolist.cpp
parent657a206711c4f262b4445767402c3db545b60a69 (diff)
downloadLDMicroGtk-83c5de8e1cf0b957011a00edc3b1c62b55557e84.tar.gz
LDMicroGtk-83c5de8e1cf0b957011a00edc3b1c62b55557e84.tar.bz2
LDMicroGtk-83c5de8e1cf0b957011a00edc3b1c62b55557e84.zip
Fixed windows style line ending error for LD Files
Diffstat (limited to 'ldmicro/iolist.cpp')
-rw-r--r--ldmicro/iolist.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ldmicro/iolist.cpp b/ldmicro/iolist.cpp
index 65a14fc..e53f535 100644
--- a/ldmicro/iolist.cpp
+++ b/ldmicro/iolist.cpp
@@ -353,6 +353,7 @@ BOOL LoadIoListFromFile(FILE *f)
char name[MAX_NAME_LEN];
int pin;
while(fgets(line, sizeof(line), f)) {
+ ManageLineEnding(line);
if(strcmp(line, "END\n")==0) {
return TRUE;
}