diff options
| author | nyamatongwe <nyamatongwe@gmail.com> | 2013-01-30 10:35:54 +1100 | 
|---|---|---|
| committer | nyamatongwe <nyamatongwe@gmail.com> | 2013-01-30 10:35:54 +1100 | 
| commit | b6b784c701a33c9ba11330a5fb1ecdc745abdb04 (patch) | |
| tree | 83a364dfe0e3990cde582e7353d2d22bd6a504c4 | |
| parent | abefe4d1dfe84880c99230e063d8a9b125a9e2de (diff) | |
| download | scintilla-mirror-b6b784c701a33c9ba11330a5fb1ecdc745abdb04.tar.gz | |
Added assert to silence Xcode analyse warning.
| -rw-r--r-- | src/ViewStyle.cxx | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index 9df8152a1..059f885f7 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -6,6 +6,7 @@  // The License.txt file describes the conditions under which this software may be distributed.  #include <string.h> +#include <assert.h>  #include <vector>  #include <map> @@ -356,6 +357,7 @@ void ViewStyle::Refresh(Surface &surface) {  		CreateFont(styles[j]);  	} +	assert(frFirst);  	frFirst->Realise(surface, zoomLevel, technology);  	for (unsigned int k=0; k<stylesSize; k++) { | 
