aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-10-11 02:31:19 +0000
committernyamatongwe <devnull@localhost>2002-10-11 02:31:19 +0000
commita87f3d84a4930bbb22ad8caa83b43c1569bfd7c9 (patch)
treedce4b650189519562b987c3352a22ae4297d2437
parent5bc24de6382e53cd63b420e5e12b8dd79cc5e433 (diff)
downloadscintilla-mirror-a87f3d84a4930bbb22ad8caa83b43c1569bfd7c9.tar.gz
Made some functions static as they should not be used from outside.
-rw-r--r--win32/PlatWin.cxx4
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) ^