Browse Source

Fixed some comments and removed obsolete

#define getcwd _getcwd[2]

because FLTK 1.3 now uses fl_getcwd().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6691 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
pull/49/head
Albrecht Schlosser 16 years ago
parent
commit
023b77a1ab
  1. 6
      FL/Fl_Help_View.H
  2. 3
      src/Fl_Help_View.cxx
  3. 6
      src/filename_absolute.cxx

6
FL/Fl_Help_View.H

@ -72,7 +72,7 @@ struct Fl_Help_Block
// //
// Fl_Help_Link structure... // Fl_Help_Link structure...
// //
/** Definition of a link for the html viewer*/ /** Definition of a link for the html viewer. */
struct Fl_Help_Link struct Fl_Help_Link
{ {
char filename[192], ///< Reference filename char filename[192], ///< Reference filename
@ -83,8 +83,6 @@ struct Fl_Help_Link
h; ///< Height of link text h; ///< Height of link text
}; };
/** Fl_Help_Target structure */
/* /*
* Fl_Help_View font stack opaque implementation * Fl_Help_View font stack opaque implementation
*/ */
@ -137,6 +135,8 @@ protected:
Fl_Help_Font_Style elts_[100]; ///< font eletments Fl_Help_Font_Style elts_[100]; ///< font eletments
}; };
/** Fl_Help_Target structure */
struct Fl_Help_Target struct Fl_Help_Target
{ {
char name[32]; ///< Target name char name[32]; ///< Target name

3
src/Fl_Help_View.cxx

@ -71,9 +71,6 @@
#if defined(WIN32) && ! defined(__CYGWIN__) #if defined(WIN32) && ! defined(__CYGWIN__)
# include <io.h> # include <io.h>
# include <direct.h> # include <direct.h>
// Visual C++ 2005 incorrectly displays a warning about the use of POSIX APIs
// on Windows, which is supposed to be POSIX compliant...
# define getcwd _getcwd
#else #else
# include <unistd.h> # include <unistd.h>
#endif // WIN32 #endif // WIN32

6
src/filename_absolute.cxx

@ -38,14 +38,8 @@
#include <ctype.h> #include <ctype.h>
#if defined(WIN32) && !defined(__CYGWIN__) #if defined(WIN32) && !defined(__CYGWIN__)
# include <direct.h> # include <direct.h>
// Visual C++ 2005 incorrectly displays a warning about the use of POSIX APIs
// on Windows, which is supposed to be POSIX compliant...
# define getcwd _getcwd
#else #else
# include <unistd.h> # include <unistd.h>
# ifdef __EMX__
# define getcwd _getcwd2
# endif
#endif #endif
#if defined(WIN32) || defined(__EMX__) && !defined(__CYGWIN__) #if defined(WIN32) || defined(__EMX__) && !defined(__CYGWIN__)

Loading…
Cancel
Save