opengl colorspace + BT2020
[goodguy/history.git] / cinelerra-5.1 / cinelerra / zwindow.C
index c970f22f7ce4c69b9ae442e949fcc9558fbd1c2a..80234ca0a77d96098f59a5a31ff96a4cd815538b 100644 (file)
@@ -73,7 +73,7 @@ void Mixers::del_mixer(int idx)
 void Mixer::set_title(const char *tp)
 {
        if( tp == title ) return;
-       strncpy(title, tp, sizeof(title));
+       strncpy(title, !tp ? "" : tp, sizeof(title));
        title[sizeof(title)-1] = 0;
 }