From 33ed97a8a77e32ae716b76fc175f3b5308fd738a Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 26 Aug 2019 11:35:54 +0200 Subject: fixed strcmp for bulb capture --- camlibs/lumix/lumix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camlibs/lumix/lumix.c b/camlibs/lumix/lumix.c index 70c138115..840cb68e2 100644 --- a/camlibs/lumix/lumix.c +++ b/camlibs/lumix/lumix.c @@ -1675,7 +1675,7 @@ camera_capture (Camera *camera, CameraCaptureType type, CameraFilePath *path, GP if (ret != GP_OK) return ret; - if (strcmp(shutterspeed, "B")!=0) { + if (!strcmp(shutterspeed, "B")) { mils = captureDuration*1000; } else { if (strstr(shutterspeed,"s")){ -- cgit v1.2.1