mirror of
https://github.com/fltk/fltk.git
synced 2025-12-11 13:53:06 +08:00
Get rid of CR's in some files...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1887 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: browser.cxx,v 1.5.2.6.2.2 2001/12/01 01:54:30 matthiaswm Exp $"
|
||||
// "$Id: browser.cxx,v 1.5.2.6.2.3 2001/12/21 14:35:33 easysw Exp $"
|
||||
//
|
||||
// Browser test program for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@@ -113,25 +113,25 @@ int main(int argc, char **argv) {
|
||||
browser->callback(b_cb);
|
||||
// browser->scrollbar_right();
|
||||
//browser->has_scrollbar(Fl_Browser::BOTH_ALWAYS);
|
||||
if (!browser->load(fname)) {
|
||||
#ifdef _MSC_VER
|
||||
// if 'browser' was started from the VisualC environment in Win32,
|
||||
// the current directory is set to the environment itself,
|
||||
// so we need to correct the browser file path
|
||||
int done = 1;
|
||||
if ( i == argc )
|
||||
{
|
||||
fname = "../test/browser.cxx";
|
||||
done = browser->load(fname);
|
||||
}
|
||||
if ( !done )
|
||||
{
|
||||
printf("Can't load %s, %s\n", fname, strerror(errno));
|
||||
exit(1);
|
||||
}
|
||||
if (!browser->load(fname)) {
|
||||
#ifdef _MSC_VER
|
||||
// if 'browser' was started from the VisualC environment in Win32,
|
||||
// the current directory is set to the environment itself,
|
||||
// so we need to correct the browser file path
|
||||
int done = 1;
|
||||
if ( i == argc )
|
||||
{
|
||||
fname = "../test/browser.cxx";
|
||||
done = browser->load(fname);
|
||||
}
|
||||
if ( !done )
|
||||
{
|
||||
printf("Can't load %s, %s\n", fname, strerror(errno));
|
||||
exit(1);
|
||||
}
|
||||
#else
|
||||
printf("Can't load %s, %s\n", fname, strerror(errno));
|
||||
exit(1);
|
||||
exit(1);
|
||||
#endif
|
||||
}
|
||||
browser->position(0);
|
||||
@@ -157,6 +157,6 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
|
||||
//
|
||||
// End of "$Id: browser.cxx,v 1.5.2.6.2.2 2001/12/01 01:54:30 matthiaswm Exp $".
|
||||
// End of "$Id: browser.cxx,v 1.5.2.6.2.3 2001/12/21 14:35:33 easysw Exp $".
|
||||
//
|
||||
|
||||
|
||||
Reference in New Issue
Block a user