From a123725a12e948d78badb2cb686d38548f1c633b Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Thu, 6 Apr 2023 23:23:46 +0200 Subject: Implement window handling Also implement searching. fix undo boundaries when it checked for other save point, it used && instead of == which caused it to overwrite other types. Fix bytes vs chars bug in text_get_region --- src/hash.h | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 src/hash.h (limited to 'src/hash.h') diff --git a/src/hash.h b/src/hash.h deleted file mode 100644 index 0fd689b..0000000 --- a/src/hash.h +++ /dev/null @@ -1,11 +0,0 @@ -#include - -static uint32_t hash_name(const char *s) { - unsigned long hash = 5381; - int c; - - while ((c = *s++)) - hash = ((hash << 5) + hash) + c; /* hash * 33 + c */ - - return hash; -} -- cgit v1.2.3