diff options
| author | nyamatongwe <unknown> | 2002-10-11 02:31:19 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2002-10-11 02:31:19 +0000 | 
| commit | b4acf51875e293378295e92ff189d5d4c652aec2 (patch) | |
| tree | dce4b650189519562b987c3352a22ae4297d2437 | |
| parent | 2cc71963203352edf9036f626e67be1b147a6ca9 (diff) | |
| download | scintilla-mirror-b4acf51875e293378295e92ff189d5d4c652aec2.tar.gz | |
Made some functions static as they should not be used from outside.
| -rw-r--r-- | win32/PlatWin.cxx | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 3bfd923ae..55d31ef32 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -107,7 +107,7 @@ void Palette::Allocate(Window &) {  	}  } -void SetLogFont(LOGFONT &lf, const char *faceName, int characterSet, int size, bool bold, bool italic) { +static void SetLogFont(LOGFONT &lf, const char *faceName, int characterSet, int size, bool bold, bool italic) {  	memset(&lf, 0, sizeof(lf));  	// The negative is to allow for leading  	lf.lfHeight = -(abs(size)); @@ -122,7 +122,7 @@ void SetLogFont(LOGFONT &lf, const char *faceName, int characterSet, int size, b   * If one font is the same as another, its hash will be the same, but if the hash is the   * same then they may still be different.   */ -int HashFont(const char *faceName, int characterSet, int size, bool bold, bool italic) { +static int HashFont(const char *faceName, int characterSet, int size, bool bold, bool italic) {  	return  		size ^  		(characterSet << 10) ^ | 
