FLTK logo

Re: [fltk.coredev] RE: Doxygen oddity under Msys\mingw (possibly others!) - [General Use]

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: RE: Doxygen oddity under Msys\mingw (possibly others!) - [General Use] Manolo Feb 26, 2021  
 

On Thursday, February 25, 2021 at 7:43:10 PM UTC+1 Albrecht Schlosser wrote:
Hmm, but looking at the docs, this seems to be strange:

Fl_Preferences::Fl_Preferences(
const char * path,
const char * vendor,
const char * application
)
...

"The file name is generated in the form $(path)/$(application).prefs." [...]

The argument 'vendor' is not mentioned in the docs (file name).

This looks wrong but I can't check this now.

That is strange indeed but not wrong, in the sense that it matches what is in the source code.

The path of the file reached by this Fl_Preferences constructor is defined
at line #938 of src/Fl_Preferences.cxx :
    snprintf(filename, sizeof(filename), "%s/%s.prefs", path, application);
This statement is in a member function which receives path, vendor and application
parameters, but the "vendor" parameter is not used to build the filename.

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/cbbea2a3-11a3-418d-8f47-ece148a892f9n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.