summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-21 11:46:32 -0300
committershennetsind <ind@henn.et>2013-07-21 11:46:32 -0300
commit9bcb1423969870a6b60819e6f3846fe0235e28a9 (patch)
treee922415de0fd8d7948fe03ef7cd4cd9a2c5d38be /src
parente3fd7cc88828865aa94ad00a2e2301a1d44e0831 (diff)
downloadhercules-9bcb1423969870a6b60819e6f3846fe0235e28a9.tar.gz
hercules-9bcb1423969870a6b60819e6f3846fe0235e28a9.tar.bz2
hercules-9bcb1423969870a6b60819e6f3846fe0235e28a9.tar.xz
hercules-9bcb1423969870a6b60819e6f3846fe0235e28a9.zip
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 <ind@henn.et>
Diffstat (limited to 'src')
-rw-r--r--src/common/sql.c2
-rw-r--r--src/map/itemdb.c2
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 <file name>'\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) {