diff options
Diffstat (limited to 'gtk/ScintillaGTK.h')
| -rw-r--r-- | gtk/ScintillaGTK.h | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/gtk/ScintillaGTK.h b/gtk/ScintillaGTK.h index 7cff34ff3..ab485ee96 100644 --- a/gtk/ScintillaGTK.h +++ b/gtk/ScintillaGTK.h @@ -99,7 +99,7 @@ private:  		TickReason reason;  		ScintillaGTK *scintilla;  		guint timer; -		TimeThunk() : reason(tickCaret), scintilla(NULL), timer(0) {} +		TimeThunk() : reason(tickCaret), scintilla(nullptr), timer(0) {}  	};  	TimeThunk timers[tickDwell+1];  	bool FineTickerRunning(TickReason reason) override; @@ -256,7 +256,7 @@ class GObjectWatcher {  		PLATFORM_ASSERT(obj == weakRef);  		Destroyed(); -		weakRef = 0; +		weakRef = nullptr;  	}  	static void WeakNotify(gpointer data, GObject *obj) { @@ -278,7 +278,7 @@ public:  	virtual void Destroyed() {}  	bool IsDestroyed() const { -		return weakRef != 0; +		return weakRef != nullptr;  	}  }; | 
