patch-src_synaptics_c 651 B

123456789101112131415
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- gpm-1.20.5.orig/src/synaptics.c 2008-06-13 10:08:19.000000000 +0200
  3. +++ gpm-1.20.5/src/synaptics.c 2008-10-09 14:07:01.000000000 +0200
  4. @@ -2134,9 +2134,9 @@ void tp_read_config_file (char* config_f
  5. break;
  6. case Flag_Param:
  7. - if (index ("YyTt1", token [0])) {
  8. + if (strchr ("YyTt1", token [0])) {
  9. *(param_data [param].addr.flag_p) = 1;
  10. - } else if (index ("NnFf0", token [0])) {
  11. + } else if (strchr ("NnFf0", token [0])) {
  12. *(param_data [param].addr.flag_p) = 0;
  13. } else {
  14. gpm_report (GPM_PR_WARN,"Flag value (%s) for parameter %s is invalid",