diff --git a/x.c b/x.c index e2ec9db..267b245 100644 --- a/x.c +++ b/x.c @@ -2229,10 +2229,8 @@ resource_load(XrmDatabase db, char *name, enum resource_type rtype, void *dst) char *type; XrmValue ret; - snprintf(fullname, sizeof(fullname), "%s.%s", - opt_name ? opt_name : "st", name); - snprintf(fullclass, sizeof(fullclass), "%s.%s", - opt_class ? opt_class : "St", name); + snprintf(fullname, sizeof(fullname), "%s.%s","st", name); + snprintf(fullclass, sizeof(fullclass), "%s.%s", "St", name); fullname[sizeof(fullname) - 1] = fullclass[sizeof(fullclass) - 1] = '\0'; XrmGetResource(db, fullname, fullclass, &type, &ret);