Skip to content

Commit

Permalink
Init asLineBreakStyle setting with Windows linebreaks, so we don't ru…
Browse files Browse the repository at this point in the history
…n into crashes when grid value does not have any line ending. See issue #47 and https://www.heidisql.com/forum.php?t=24883
  • Loading branch information
ansgarbecker committed Feb 5, 2018
1 parent f7b4d0c commit 810decc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/apphelpers.pas
Expand Up @@ -3549,7 +3549,7 @@ constructor TAppSettings.Create;
InitSetting(asFavoriteObjects, 'FavoriteObjects', 0, False, '', True);
InitSetting(asFavoriteObjectsOnly, 'FavoriteObjectsOnly', 0, False);
InitSetting(asFullTableStatus, 'FullTableStatus', 0, True, '', True);
InitSetting(asLineBreakStyle, 'LineBreakStyle', Integer(lbsNone));
InitSetting(asLineBreakStyle, 'LineBreakStyle', Integer(lbsWindows));
InitSetting(asFileDialogEncoding, 'FileDialogEncoding_%s', 0);
end;

Expand Down

0 comments on commit 810decc

Please sign in to comment.