Author: AlbrechtS
Date: 2009-03-15 14:16:34 -0700 (Sun, 15 Mar 2009)
New Revision: 6691
Log:
Fixed some comments and removed obsolete
#define getcwd _getcwd[2]
because FLTK 1.3 now uses fl_getcwd().
Modified:
branches/branch-1.3/FL/Fl_Help_View.H
branches/branch-1.3/src/Fl_Help_View.cxx
branches/branch-1.3/src/filename_absolute.cxx
Modified: branches/branch-1.3/FL/Fl_Help_View.H
===================================================================
--- branches/branch-1.3/FL/Fl_Help_View.H 2009-03-15 20:52:46 UTC (rev
6690)
+++ branches/branch-1.3/FL/Fl_Help_View.H 2009-03-15 21:16:34 UTC (rev
6691)
@@ -72,7 +72,7 @@
//
// 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 @@
h; ///< Height of link text
};
-/** Fl_Help_Target structure */
-
/*
* Fl_Help_View font stack opaque implementation
*/
@@ -137,6 +135,8 @@
Fl_Help_Font_Style elts_[100]; ///< font eletments
};
+/** Fl_Help_Target structure */
+
struct Fl_Help_Target
{
char name[32]; ///< Target name
Modified: branches/branch-1.3/src/Fl_Help_View.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Help_View.cxx 2009-03-15 20:52:46 UTC (rev
6690)
+++ branches/branch-1.3/src/Fl_Help_View.cxx 2009-03-15 21:16:34 UTC (rev
6691)
@@ -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 @@
/** 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
Modified: branches/branch-1.3/src/filename_absolute.cxx
===================================================================
--- branches/branch-1.3/src/filename_absolute.cxx 2009-03-15 20:52:46 UTC
(rev 6690)
+++ branches/branch-1.3/src/filename_absolute.cxx 2009-03-15 21:16:34 UTC
(rev 6691)
@@ -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__)
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit