Raised This Month: $51 Target: $400
 12% 

Need help (Warning Loose indentation)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
amirkir
Member
Join Date: Jan 2008
Old 04-30-2008 , 13:04   Need help (Warning Loose indentation)
Reply With Quote #1

PHP Code:
   new MenuNumB[256]
   new 
keys
 
   
new AU formatMenuNumB255"\yAcid Scrim Menu:^n" )
   
AU += formatMenuNumB[AU], 255-AU"^n\w1. Live On Three" )
   
AU += formatMenuNumB[AU], 255-AU"^n^n\w0. Exit" )
   
keys = (1<<9)
   
show_menuidkeysMenuNumB, -)
   return 
PLUGIN_CONTINUE


when i tried to compile the plugin it showed a warning on new MenuNumB[256]
and the warning was Loose indentation

can anyone help me with this ?

cheers.

Last edited by amirkir; 04-30-2008 at 17:23.
amirkir is offline
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 04-30-2008 , 13:19   Re: Need help (Warning Loose indentation)
Reply With Quote #2

I heard that means you have used tabs to indent on some lines and spaces on others. It seems to go away for me if I re-indent the offending line using the tab key.
__________________
"Good grammar is essential, Robin."
- Batman
L. Duke is offline
amirkir
Member
Join Date: Jan 2008
Old 04-30-2008 , 13:39   Re: Need help (Warning Loose indentation)
Reply With Quote #3

strange way of helping but it worked

thanks
amirkir is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode