aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-10-11 02:31:19 +0000
committernyamatongwe <unknown>2002-10-11 02:31:19 +0000
commitb4acf51875e293378295e92ff189d5d4c652aec2 (patch)
treedce4b650189519562b987c3352a22ae4297d2437
parent2cc71963203352edf9036f626e67be1b147a6ca9 (diff)
downloadscintilla-mirror-b4acf51875e293378295e92ff189d5d4c652aec2.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) ^