[gnome-settings-daemon] RANDR - Fix order of arguments to strstr()
- From: Federico Mena Quintero <federico src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-settings-daemon] RANDR - Fix order of arguments to strstr()
- Date: Fri, 26 Jun 2009 20:04:41 +0000 (UTC)
commit 4d1027f9572ea2110b26723201fce9aefd540729
Author: Federico Mena Quintero <federico novell com>
Date: Fri Jun 26 14:38:02 2009 -0500
RANDR - Fix order of arguments to strstr()
Signed-off-by: Federico Mena Quintero <federico novell com>
plugins/xrandr/gsd-xrandr-manager.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index da7a62c..ee5ddf3 100644
--- a/plugins/xrandr/gsd-xrandr-manager.c
+++ b/plugins/xrandr/gsd-xrandr-manager.c
@@ -448,9 +448,9 @@ is_laptop (GnomeOutputInfo *output)
const char *output_name = output->name;
if (output->connected && output_name &&
- (strstr ("lvds", output_name) ||
- strstr ("LVDS", output_name) ||
- strstr ("Lvds", output_name)))
+ (strstr (output_name, "lvds") ||
+ strstr (output_name, "LVDS") ||
+ strstr (output_name, "Lvds")))
{
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]