* Fix build. Oops

This commit is contained in:
pancake 2011-02-17 01:36:28 +01:00
parent 035027fde3
commit 5f67226167

View File

@ -2,9 +2,8 @@
#include <r_flags.h>
R_API int r_flag_space_get(struct r_flag_t *f, char *name) {
R_API int r_flag_space_get(struct r_flag_t *f, const char *name) {
int i;
for (i=0;i<R_FLAG_SPACES_MAX;i++) {
if (f->spaces[i] != NULL)
if (!strcmp (name, f->spaces[i]))