Index: trunk/src_plugins/dialogs/dlg_library_param.c =================================================================== --- trunk/src_plugins/dialogs/dlg_library_param.c (revision 31879) +++ trunk/src_plugins/dialogs/dlg_library_param.c (revision 31880) @@ -306,7 +306,7 @@ const char *val; rnd_hid_attribute_t *a = &ctx->pdlg[ctx->pwid[n]]; - if ((n >= ctx->first_optional) && ((!a->changed) || (a->empty))) + if (((n >= ctx->first_optional) && (!a->changed)) || (a->empty)) continue; switch(a->type) { @@ -327,6 +327,8 @@ break; case RND_HATT_STRING: val = a->val.str; + if ((val != NULL) && (*val == '\0')) + continue; break; case RND_HATT_BOOL: val = a->val.lng ? "yes" : "no";