diff options
| -rw-r--r-- | FL/Fl_Help_View.H | 6 | ||||
| -rw-r--r-- | src/Fl_Help_View.cxx | 5 | ||||
| -rw-r--r-- | src/filename_absolute.cxx | 6 |
3 files changed, 4 insertions, 13 deletions
diff --git a/FL/Fl_Help_View.H b/FL/Fl_Help_View.H index aff5099c3..628601fb9 100644 --- a/FL/Fl_Help_View.H +++ b/FL/Fl_Help_View.H @@ -72,7 +72,7 @@ struct Fl_Help_Block // // Fl_Help_Link structure... // -/** Definition of a link for the html viewer*/ +/** Definition of a link for the html viewer. */ struct Fl_Help_Link { char filename[192], ///< Reference filename @@ -83,8 +83,6 @@ struct Fl_Help_Link h; ///< Height of link text }; -/** Fl_Help_Target structure */ - /* * Fl_Help_View font stack opaque implementation */ @@ -137,6 +135,8 @@ protected: Fl_Help_Font_Style elts_[100]; ///< font eletments }; +/** Fl_Help_Target structure */ + struct Fl_Help_Target { char name[32]; ///< Target name diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx index 312d5cbc5..c0780deba 100644 --- a/src/Fl_Help_View.cxx +++ b/src/Fl_Help_View.cxx @@ -71,9 +71,6 @@ #if defined(WIN32) && ! defined(__CYGWIN__) # include <io.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 # include <unistd.h> #endif // WIN32 @@ -361,7 +358,7 @@ void Fl_Help_View::add_link(const char *n, // I - Name of link /** Adds a new target to the list. */ void Fl_Help_View::add_target(const char *n, // I - Name of target - int yy) // I - Y position of target + int yy) // I - Y position of target { Fl_Help_Target *temp; // New target diff --git a/src/filename_absolute.cxx b/src/filename_absolute.cxx index 2a7789e70..d8c293860 100644 --- a/src/filename_absolute.cxx +++ b/src/filename_absolute.cxx @@ -38,14 +38,8 @@ #include <ctype.h> #if defined(WIN32) && !defined(__CYGWIN__) # 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 # include <unistd.h> -# ifdef __EMX__ -# define getcwd _getcwd2 -# endif #endif #if defined(WIN32) || defined(__EMX__) && !defined(__CYGWIN__) |
