1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/deskutils/notecase/files/patch-src-MainWnd.cpp
Ganael LAPLANCHE 334ad1a035 - Fix 100% CPU usage at startup [1]
by disabling the grey welcome screen
- Use new Makefile header format
- Use dos2unix

PR:	ports/180127 [1]
Submitted by:	Walter Hurry <walterhurry@gmail.com> [1]
2013-07-04 08:04:22 +00:00

14 lines
502 B
C++

Disable grey welcome screen as it crashes Notecase at startup
--- src/MainWnd.cpp.orig 2013-07-03 17:46:48.000000000 +0200
+++ src/MainWnd.cpp 2013-07-03 17:46:48.000000000 +0200
@@ -147,7 +147,7 @@
{
g_shortcuts.Load();
- g_objIni.GetValue("Display", "DrawGrayTextView", g_bDrawTextviewExpose, 1);
+ g_objIni.GetValue("Display", "DrawGrayTextView", g_bDrawTextviewExpose, 0);
g_objIni.GetValue("Display", "TreeToTheRight", g_bTreeToTheRight);
g_bTreeToTheRightInitial = g_bTreeToTheRight;