mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-25 01:00:00 +01:00
update reloaded's configure.ac ( use AC_DEFINE consistently and fix CFLAGS ), fix SSE CFLAGS in veejay server's configure, fix many compiler warnings
This commit is contained in:
@@ -6637,8 +6637,10 @@ static void theme_response( gchar *string )
|
||||
snprintf(theme_config,sizeof(theme_config), "%stheme.config", theme_dir );
|
||||
snprintf(theme_file,sizeof(theme_file), "%s/%s/gveejay.rc", theme_dir, string );
|
||||
int fd = open( theme_config , O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
|
||||
|
||||
if(fd > 0)
|
||||
{
|
||||
veejay_msg(VEEJAY_MSG_DEBUG, "Setting up theme %s in %s", string, theme_file );
|
||||
write( fd, string, strlen(string));
|
||||
close(fd);
|
||||
vj_msg(VEEJAY_MSG_INFO, "Restart GveejayReloaded for changes to take effect");
|
||||
@@ -6651,7 +6653,7 @@ static void theme_response( gchar *string )
|
||||
}
|
||||
else
|
||||
{
|
||||
vj_msg(VEEJAY_MSG_ERROR, "Unable to write to %s", theme_config );
|
||||
vj_msg(VEEJAY_MSG_ERROR, "Unable to write to %s", theme_file );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user