mirror of https://github.com/fltk/fltk
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
This commit is contained in:
parent
4bcf3e5311
commit
023b77a1ab
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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__)
|
||||
|
|
Loading…
Reference in New Issue