On Wed, Jul 6, 2011 at 6:21 PM, Stephan Beal <[email protected]> wrote:

> A quick thanks to whomever fixed Ctrl-J (paragraph auto-wrap) to properly
> recognize end-of-comment markers so that
>

LOL! Right after making that post i found a corner case Ctrl-J doesn't
handle properly:

Before Ctrl-J:

License: this code is released into the Public Domain by its author,
Stephan Beal (http://wanderinghorse.net/home/stephan/). HOWEVER, if
you enable the MySQL driver (by compiling with
-DCPDO_ENABLE_MYSQL5=ATrueValue) then you must inherit the GPL license
used by MySQL (if any). Linking against sqlite3 does not impose any
specific licensing restrictions on the client (not even a "do no evil"
clause).
************************************************************************/
#if defined(NDEBUG)
#  undef NDEBUG
#endif

After Ctrl-J:

...
impose any specific licensing restrictions on the client (not even a
"do no evil" clause).
**********************************************************************
**/ #if defined(NDEBUG) #  undef NDEBUG #endif

Note the placement of the #if.

(No big deal, but the timing of this find was funny.)

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
Geany mailing list
[email protected]
https://lists.uvena.de/cgi-bin/mailman/listinfo/geany

Reply via email to