mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
small round of compiler warning fixes
This commit is contained in:
parent
e2c6eb0ba1
commit
c6a3d6bc48
7 changed files with 13 additions and 13 deletions
|
|
@ -3601,13 +3601,13 @@ ARDOUR_UI::start_video_server (Gtk::Window* float_window, bool popup_msg)
|
|||
continue;
|
||||
}
|
||||
#ifndef PLATFORM_WINDOWS
|
||||
if ( (!g_lstat (icsd_exec.c_str(), &sb) == 0)
|
||||
if ( (g_lstat (icsd_exec.c_str(), &sb) != 0)
|
||||
|| (sb.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH)) == 0 ) {
|
||||
warning << _("Given Video Server is not an executable file.") << endmsg;
|
||||
continue;
|
||||
}
|
||||
#else
|
||||
if ( (!g_lstat (icsd_exec.c_str(), &sb) == 0)
|
||||
if ( (g_lstat (icsd_exec.c_str(), &sb) != 0)
|
||||
|| (sb.st_mode & (S_IXUSR)) == 0 ) {
|
||||
warning << _("Given Video Server is not an executable file.") << endmsg;
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue