Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 "if" in context window
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

araav
Senior Member

Armenia
28 Posts

Posted - Feb 28 2005 :  09:42:09 AM  Show Profile

    for (i = 0 ; i < len; i++)
    {
	printk("%02x", ((u8*)buf)[i]);
	if (i%2)
	    [*cursor here*] printk(" ");
	if (15 == i%16)
	    printk("\\n");
    }

when the cursor is in the position [*cursor here*] context window shows
"hex_dump.for"
I suppose it should show hex_dump.for.if ?

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Mar 01 2005 :  3:18:10 PM  Show Profile
it probably should if you add { }'s to the if statement then it is shown.

case=515

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000