- for( j = 0; j < MODULE_SHORTCUT_MAX; j++ )
- {
- LOAD_STRING( pp_cache[i]->p_module->pp_shortcuts[j] ); // FIX
- }
+
+ LOAD_IMMEDIATE( pp_cache[i]->p_module->i_shortcuts );
+ pp_cache[i]->p_module->pp_shortcuts =
+ malloc( sizeof( char ** ) * pp_cache[i]->p_module->i_shortcuts );
+ for( j = 0; j < pp_cache[i]->p_module->i_shortcuts; j++ )
+ LOAD_STRING( pp_cache[i]->p_module->pp_shortcuts[j] );
+