[ekg2-commit] ekg2: themes.c (HEAD) [darkjames]

CVS commit cvs w toxygen.net
Wto, 8 Maj 2007, 00:36:37 CEST


Module name:	ekg2
Changes by:	darkjames	2007-05-08 00:36:35

Modified files:
	themes.c

Log message:
fix typo,
-	no_promp_cache_hash = ekg_hash("no_promp_cache");
+	no_prompt_cache_hash = ekg_hash("no_prompt_cache");

Index: themes.c
===================================================================
RCS file: /home/cvs/ekg2/ekg/themes.c,v
diff -d -u -r1.186 -r1.187
--- themes.c	6 May 2007 21:55:20 -0000	1.186
+++ themes.c	7 May 2007 22:36:35 -0000	1.187
@@ -52,7 +52,7 @@
 static const char *timestamp_cache = NULL;
 
 static int no_prompt_cache = 0;
-static int no_promp_cache_hash = 2261954;	/* hash value of "no_promp_cache" 2261954 it's default one. i hope good one.. for 32 bit x86 sure. */
+static int no_prompt_cache_hash = 2261954;	/* hash value of "no_prompt_cache" 2261954 it's default one. i hope good one.. for 32 bit x86 sure. */
 
 struct format {
 	char *name;
@@ -873,7 +873,7 @@
 
 	hash = ekg_hash(name);
 
-	if (hash == no_promp_cache_hash && !xstrcmp(name, "no_prompt_cache")) {
+	if (hash == no_prompt_cache_hash && !xstrcmp(name, "no_prompt_cache")) {
 		no_prompt_cache = 1;
 		return;
 	}
@@ -1095,7 +1095,7 @@
 void theme_init()
 {
 	theme_cache_reset();
-	no_promp_cache_hash = ekg_hash("no_promp_cache");
+	no_prompt_cache_hash = ekg_hash("no_prompt_cache");
 #ifndef NO_DEFAULT_THEME
 	/* wykorzystywane w innych formatach */
 	format_add("prompt", "%K:%g:%G:%n", 1);


Więcej informacji o liście dyskusyjnej ekg2-commit