Seg Fault in Scrolling code help?

In the code and message I posted earlier, I did get it
to work. My only problem is, I used the code from the
“Game scrolling summary” post earlier, and I’m not
sure what to call after moving the srcRect,
UpdateScreen or SDL_UpdateRects. right now I call
UpdateRects then UpdateScreen and it flickers between
a non moving background, and the scrolling one.
Anyway, any ideas?__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!