Commit d6b6cb54 authored by Claes Sjofors's avatar Claes Sjofors

Xtt authorization error message fix

parent f7945cb2
...@@ -72,5 +72,5 @@ waveformat <Unsupported wavefile format> /error ...@@ -72,5 +72,5 @@ waveformat <Unsupported wavefile format> /error
filecorrupt <File is corrupt> /error filecorrupt <File is corrupt> /error
notcollectw <Not collect window> /error notcollectw <Not collect window> /error
noclassgraph <No classgraph found> /error noclassgraph <No classgraph found> /error
notauthorized <Not authorized for this operation> /error
...@@ -1388,7 +1388,7 @@ int XNav::set_attr_value( char *value_str) ...@@ -1388,7 +1388,7 @@ int XNav::set_attr_value( char *value_str)
if ( !((priv & pwr_mPrv_RtWrite) || if ( !((priv & pwr_mPrv_RtWrite) ||
(priv & pwr_mPrv_System))) { (priv & pwr_mPrv_System))) {
message('E', "Not authorized for this operation"); message('E', "Not authorized for this operation");
return 0; return XNAV__NOTAUTHORIZED;
} }
brow_GetSelectedNodes( brow->ctx, &node_list, &node_count); brow_GetSelectedNodes( brow->ctx, &node_list, &node_count);
if ( !node_count) if ( !node_count)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment