diff --git a/harbour/doc/en/cmdline.txt b/harbour/doc/en/cmdline.txt index c411aa508a..cb199b382f 100644 --- a/harbour/doc/en/cmdline.txt +++ b/harbour/doc/en/cmdline.txt @@ -91,15 +91,14 @@ * * Notes: * - * - All occurences where a path is accepted, - * Harbour should handle the quote char to specify - * path containing space, negative sign, slash, or - * any other chars with special meaning. + * - All occurences where a path is accepted, Harbour should handle the + * quote char to specify path containing space, negative sign, slash, + * or any other chars with special meaning. * - * /i"c:/hello/" - * -i"c:/hello-n" - * /i"c:/program files/" - * -i"c:/program files/" + * /i"c:/hello/" + * -i"c:/hello-n" + * /i"c:/program files/" + * -i"c:/program files/" * * * Just some examples for the various accepted forms: diff --git a/harbour/utils/hbdoc/genchm.prg b/harbour/utils/hbdoc/genchm.prg index ef8ff979e5..b123bbce45 100644 --- a/harbour/utils/hbdoc/genchm.prg +++ b/harbour/utils/hbdoc/genchm.prg @@ -53,7 +53,7 @@ MEMVAR aDirList MEMVAR aDocInfo MEMVAR aWww - +MEMVAR aResult STATIC aAlso STATIC aFiTable := {} STATIC aSiTable := {} @@ -247,6 +247,11 @@ FUNCTION ProcessChm() cFuncName := "Unknown" ENDIF AADD( aDocInfo, { cCategory, cFuncName, cOneLine, lower(cFileName) } ) + nPos := ascan(aResult,{|a| UPPER(a) == UPPER(cCategory)}) + if nPos==0 + aadd(aResult,cCategory) + endif + // Now close down this little piece IF .NOT. EMPTY( cSeeAlso ) diff --git a/harbour/utils/hbdoc/hbdoc.prg b/harbour/utils/hbdoc/hbdoc.prg index 3f28da6f58..e79b21b8b9 100644 --- a/harbour/utils/hbdoc/hbdoc.prg +++ b/harbour/utils/hbdoc/hbdoc.prg @@ -626,100 +626,98 @@ set console off oHTm:AddParam('Name','HARBOUR') ohtm:EndObject() ohtm:WriteText("" ) - ohtm:ListItem() + oHtm:WriteText( "" ) + ohtm:WriteText("" ) + oHtm:WriteText( "") + oHtm:WriteText( "" ) +// oHtm:WriteText( "" ) + oHtm:WriteText( "