Ticket #597 (closed task: fixed)
Merge duplicate code for OS-constants
| Reported by: | Sewi | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | editor | Version: | trunk |
| Keywords: | Cc: |
Description
/lib/Padre/Wx/Directory/TreeCtrl.pm:
use constant IS_MAC => !!( $O eq 'darwin' );
use constant IS_WIN32 => !!( $O =~ /MSWin/ or $O eq 'cygwin' );
same will be in Padre/File/Local?.pm and maybe others.
Move this to one Module where others could use it (Padre::Constant?)
Change History
Note: See
TracTickets for help on using
tickets.

Fixed in r8142