Opened 9 years ago
Closed 9 years ago
#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 (1)
comment:1 Changed 9 years ago by Sewi
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Fixed in r8142