|
From: Andy G. <ag...@us...> - 2002-11-20 02:44:25
|
Update of /cvsroot/acpi/ospmd/ospmd/ospmd
In directory sc8-pr-cvs1:/tmp/cvs-serv31365/ospmd/ospmd
Modified Files:
policy_button.cpp
Log Message:
do not assign to key twice
Index: policy_button.cpp
===================================================================
RCS file: /cvsroot/acpi/ospmd/ospmd/ospmd/policy_button.cpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- policy_button.cpp 8 Oct 2002 18:16:39 -0000 1.1.1.1
+++ policy_button.cpp 20 Nov 2002 02:44:22 -0000 1.2
@@ -257,7 +257,7 @@
perror("execl");
break;
case BUTTON_ACTION_RUN_PROG:
- key = key = "button." + string(pev->ev_dev_name) + ".runprogram";
+ key = "button." + string(pev->ev_dev_name) + ".runprogram";
OSPMD_ERROR("Want to run...\"%s\"\n", props.get_prop_string(key.c_str()).c_str());
break;
default:
|