Skip to content

Commit db5bcdb

Browse files
committed
fixed reading of longer settings file
1 parent 6800e71 commit db5bcdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/gen_gdl90.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,7 @@ func readSettings() {
12691269
return
12701270
}
12711271
defer fd.Close()
1272-
buf := make([]byte, 1024)
1272+
buf := make([]byte, 2048)
12731273
count, err := fd.Read(buf)
12741274
if err != nil {
12751275
log.Printf("can't read settings %s: %s\n", configLocation, err.Error())

0 commit comments

Comments
 (0)