diff --git a/demo/x11_opengl2/nuklear_xlib_gl2.h b/demo/x11_opengl2/nuklear_xlib_gl2.h index 2432476..c45fe60 100644 --- a/demo/x11_opengl2/nuklear_xlib_gl2.h +++ b/demo/x11_opengl2/nuklear_xlib_gl2.h @@ -10,8 +10,8 @@ * * =============================================================== */ -#ifndef NK_XLIB_GL3_H_ -#define NK_XLIB_GL3_H_ +#ifndef NK_XLIB_GL2_H_ +#define NK_XLIB_GL2_H_ #include NK_API struct nk_context* nk_x11_init(Display *dpy, Window win); diff --git a/nuklear.h b/nuklear.h index 5859eb0..56b7f95 100644 --- a/nuklear.h +++ b/nuklear.h @@ -3740,7 +3740,7 @@ nk_strmatch_fuzzy_text(const char *str, int str_len, int next_match = *pattern_iter != '\0' && nk_to_lower(pattern_letter) == nk_to_lower(str_letter); - int rematch = best_letter && nk_to_lower(*best_letter) == nk_to_lower(str_letter); + int rematch = best_letter && nk_to_upper(*best_letter) == nk_to_upper(str_letter); int advanced = next_match && best_letter; int pattern_repeat = best_letter && *pattern_iter != '\0';