Update of /cvsroot/cbar/cbar/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20003/src
Modified Files:
csound.c
Log Message:
Set correct line endings in fix* in the distribution package, and improved the scrips to avoid future problems.
Index: csound.c
===================================================================
RCS file: /cvsroot/cbar/cbar/src/csound.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** csound.c 7 Dec 2003 20:52:33 -0000 1.4
--- csound.c 29 Oct 2005 18:57:56 -0000 1.5
***************
*** 246,250 ****
const char*const*txt;
int nr;
!
if (s->freq < 20 || s->duration < 55 || s->freq > 20000 || s->duration > 5000) {
txt = LoadCompiledTexts(cbar_labels, "csound", &nr);
--- 246,250 ----
const char*const*txt;
int nr;
!
if (s->freq < 20 || s->duration < 55 || s->freq > 20000 || s->duration > 5000) {
txt = LoadCompiledTexts(cbar_labels, "csound", &nr);
***************
*** 271,275 ****
const char*const*txt;
int nr;
!
txt = LoadCompiledTexts(cbar_labels, "csound", &nr);
if (nr < SIZE_csound)
--- 271,275 ----
const char*const*txt;
int nr;
!
txt = LoadCompiledTexts(cbar_labels, "csound", &nr);
if (nr < SIZE_csound)
***************
*** 374,378 ****
RegisterFileType("wav", NULL, ds, "", NULL, txt[SOUND_SAMPLE], SoundViewer);
RegisterFileType("#SAMP", NULL, ds, "", NULL, txt[SOUND_SAMPLE], SoundViewerData);
! fn = FileSelect("*.wav;*.voc", "", FS_BROWSE_DAT|FS_SHOW_MENU, txt[LOAD_SOUND_FILE], txt[SELECT]);
if (*fn) {
if (s->fn)
--- 374,379 ----
RegisterFileType("wav", NULL, ds, "", NULL, txt[SOUND_SAMPLE], SoundViewer);
RegisterFileType("#SAMP", NULL, ds, "", NULL, txt[SOUND_SAMPLE], SoundViewerData);
! fn = FileSelect("*.wav;*.voc", "", FS_DIRECT_SELECT_BY_DOUBLE_CLICK|FS_DISABLE_EDIT_DAT|FS_SHOW_MENU|FS_NO_DRAG_DROP|FS_SHOW_DIR_TREE,
! txt[LOAD_SOUND_FILE], txt[SELECT]);
if (*fn) {
if (s->fn)
|