Permalink
Browse files

Init asLineBreakStyle setting with Windows linebreaks, so we don't ru…

…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 810decc23eae7c956ab68b2c68e2bcb976770e93
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/apphelpers.pas
@@ -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;

0 comments on commit 810decc

Please sign in to comment.