From 9bcb1423969870a6b60819e6f3846fe0235e28a9 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 21 Jul 2013 11:46:32 -0300 Subject: HCache & SQL Update Checker minor change Files loaded by HCache now display a green C to distinguish whether it was loaded from cache or not Fixed a typo in the SQL Update Checker. Signed-off-by: shennetsind --- src/common/sql.c | 2 +- src/map/itemdb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/sql.c b/src/common/sql.c index 99482072c..579346001 100644 --- a/src/common/sql.c +++ b/src/common/sql.c @@ -1048,7 +1048,7 @@ void Sql_HerculesUpdateCheck(Sql* self) { fclose(ifp); if( performed ) { - ShowSQL("- dected %d new "CL_WHITE"SQL updates"CL_RESET"\n",performed); + ShowSQL("- detected %d new "CL_WHITE"SQL updates"CL_RESET"\n",performed); ShowMessage("%s",StrBuf->Value(&buf)); ShowSQL("To manually skip, type: 'sql update skip '\n"); } diff --git a/src/map/itemdb.c b/src/map/itemdb.c index 223c67a3a..a863ed1ab 100644 --- a/src/map/itemdb.c +++ b/src/map/itemdb.c @@ -707,7 +707,7 @@ void itemdb_read_groups(void) { config_destroy(&item_group_conf); aFree(gsize); - ShowStatus("Done reading '"CL_WHITE"%lu"CL_RESET"' entries in '"CL_WHITE"%s"CL_RESET"'.\n", count, config_filename); + ShowStatus("Done reading '"CL_WHITE"%lu"CL_RESET"' entries in '"CL_WHITE"%s"CL_RESET"' ("CL_GREEN"C"CL_RESET").\n", count, config_filename); } /* [Ind/Hercules] - HCache for Packages */ void itemdb_write_cached_packages(const char *config_filename) { -- cgit v1.2.3-60-g2f50