fixed problem in dbr_text_to_type

This commit is contained in:
Jeff Hill
2002-04-25 18:12:38 +00:00
parent 058aff221b
commit f4d313d3d8

View File

@@ -760,7 +760,7 @@ union db_access_val{
dbr_text[(type)] : dbr_text_invalid )
#define dbr_text_to_type(text, type) \
for (type=dbr_text_dim-1; type>=0; type--) { \
for (type=dbr_text_dim-2; type>=0; type--) { \
if (strcmp(text, dbr_text[type]) == 0) \
break; \
}