mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Fix autostart setting
* Value was used instead of pointer.
This commit is contained in:
@@ -126,7 +126,7 @@ index 38622e3..34f6da5 100644
|
||||
2.2.2
|
||||
|
||||
|
||||
From d8b46bf2128de83c2a0509fa5a7ffdae4be050bc Mon Sep 17 00:00:00 2001
|
||||
From 2b15cabcd06ae85b2af80aa2611989586f048c3c Mon Sep 17 00:00:00 2001
|
||||
From: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
||||
Date: Tue, 10 Nov 2015 14:08:30 +0100
|
||||
Subject: Remove rescue, add autostart
|
||||
@@ -437,7 +437,7 @@ index 3f88162..84342fc 100644
|
||||
|
||||
if ( node.InitCheck() == B_OK )
|
||||
diff --git a/source/main.cpp b/source/main.cpp
|
||||
index 34f6da5..542fa07 100644
|
||||
index 34f6da5..1126ce8 100644
|
||||
--- a/source/main.cpp
|
||||
+++ b/source/main.cpp
|
||||
@@ -15,11 +15,13 @@ class MyApp : public BApplication
|
||||
@@ -477,7 +477,7 @@ index 34f6da5..542fa07 100644
|
||||
} break;
|
||||
+ case 'Auto':
|
||||
+ {
|
||||
+ msg->FindBool("autostart", fAutoStart);
|
||||
+ msg->FindBool("autostart", &fAutoStart);
|
||||
+ SaveSettings();
|
||||
+ } break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user