aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/devices/printers.c2
-rw-r--r--modules/devices/resources.c6
-rw-r--r--modules/network.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/modules/devices/printers.c b/modules/devices/printers.c
index df02a6a2..15b720ba 100644
--- a/modules/devices/printers.c
+++ b/modules/devices/printers.c
@@ -216,7 +216,7 @@ scan_printers_do(void)
printer_list,
prn_id,
dests[i].name,
- dests[i].is_default ? ((params.html_ok) ? "<i>Default</i>" : "(Default)") : "");
+ dests[i].is_default ? ((params.markup_ok) ? "<i>Default</i>" : "(Default)") : "");
printer_icons = h_strdup_cprintf("\nIcon$%s$%s=printer.png",
printer_icons,
prn_id,
diff --git a/modules/devices/resources.c b/modules/devices/resources.c
index 70de2b0d..0e8d728f 100644
--- a/modules/devices/resources.c
+++ b/modules/devices/resources.c
@@ -43,7 +43,7 @@ static gchar *_resource_obtain_name(gchar *name)
if (g_regex_match(_regex_pci, name, 0, NULL)) {
temp = module_call_method_param("devices::getPCIDeviceDescription", name);
if (temp) {
- if (params.html_ok)
+ if (params.markup_ok)
return g_strdup_printf("<b><small>PCI</small></b> %s", (gchar *)idle_free(temp));
else
return g_strdup_printf("PCI %s", (gchar *)idle_free(temp));
@@ -51,7 +51,7 @@ static gchar *_resource_obtain_name(gchar *name)
} else if (g_regex_match(_regex_module, name, 0, NULL)) {
temp = module_call_method_param("computer::getKernelModuleDescription", name);
if (temp) {
- if (params.html_ok)
+ if (params.markup_ok)
return g_strdup_printf("<b><small>Module</small></b> %s", (gchar *)idle_free(temp));
else
return g_strdup_printf("Module %s", (gchar *)idle_free(temp));
@@ -98,7 +98,7 @@ void scan_device_resources(gboolean reload)
if (strstr(temp[0], "0000-0000"))
zero_to_zero_addr++;
- if (params.html_ok)
+ if (params.markup_ok)
_resources = h_strdup_cprintf("<tt>%s</tt>=%s\n", _resources,
temp[0], name);
else
diff --git a/modules/network.c b/modules/network.c
index fa61ddca..01c4955a 100644
--- a/modules/network.c
+++ b/modules/network.c
@@ -107,7 +107,7 @@ void scan_statistics(gboolean reload)
while (*tmp && isspace(*tmp)) tmp++;
/* the bolded-space/dot used here is a hardinfo shell hack */
- if (params.html_ok)
+ if (params.markup_ok)
__statistics = h_strdup_cprintf("<b> </b>#%d=%s\n",
__statistics,
line++, tmp);