if(url[t]<'0' || url[t]>'9')
nodigit = 1;
if(!nodigit) {
- int page = atoi(&url[4]) - 1;
+ int page = atoi(&url[4]);
if(page<0) page = 0;
swfoutput_linktopage(dev, page, points);
}
endtext(dev);
if(!i->config_internallinkfunction) {
- actions = action_GotoFrame(actions, page);
+ actions = action_GotoFrame(actions, page-1);
actions = action_End(actions);
} else {
actions = action_PushInt(actions, page); //parameter