Skip to content

Commit

Permalink
don't duplicate constants
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Rousse authored and Guillaume Rousse committed Jan 10, 2012
1 parent beddf63 commit dbdbedd
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -130,10 +130,9 @@ sub _getScreensFromWindows {

foreach my $screen (@screens) {

my $KEY_WOW64_64KEY = 0x100;

my $access = FusionInventory::Agent::Tools::Win32::is64bit() ?
Win32::TieRegistry::KEY_READ() | $KEY_WOW64_64KEY :
Win32::TieRegistry::KEY_READ() |
FusionInventory::Agent::Tools::Win32::KEY_WOW64_64() :
Win32::TieRegistry::KEY_READ();

my $machKey = $Registry->Open('LMachine', {
Expand Down

0 comments on commit dbdbedd

Please sign in to comment.