blob: ab8bda475c24de94438a2b3e0bd7b23db0157083 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -ru cheese-2.22.0.orig/src/cheese-webcam.c cheese-2.22.0/src/cheese-webcam.c
--- cheese-2.22.0.orig/src/cheese-webcam.c 2008-03-10 13:36:59.000000000 -0400
+++ cheese-2.22.0/src/cheese-webcam.c 2008-03-12 21:10:54.012657588 -0400
@@ -579,7 +579,7 @@
selected_device = 0;
for (i = 1; i < priv->num_webcam_devices ; i++)
{
- if (strcmp (priv->webcam_devices[i].video_device, priv->device_name) == 0)
+ if (g_strcmp0 (priv->webcam_devices[i].video_device, priv->device_name) == 0)
selected_device = i;
}
CheeseWebcamDevice *selected_webcam = &(priv->webcam_devices[selected_device]);
|