Subversion Repositories Kolibri OS

Rev

Rev 7991 | Rev 8933 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7991 Rev 8860
Line 201... Line 201...
201
 
201
 
202
void EventOpenAsText(int slot_id) {
202
void EventOpenAsText(int slot_id) {
203
	slot_data = Clipboard__GetSlotData(slot_id);
203
	slot_data = Clipboard__GetSlotData(slot_id);
204
	cdata.size = ESDWORD[slot_data]-12;
204
	cdata.size = ESDWORD[slot_data]-12;
205
	cdata.content = slot_data+12;
205
	cdata.content = slot_data+12;
206
	if (SaveSlotContents(cdata.size, cdata.content)) RunProgram("/sys/tinypad", DEFAULT_SAVE_PATH);
206
	if (SaveSlotContents(cdata.size, cdata.content)) RunProgram("/sys/develop/cedit", DEFAULT_SAVE_PATH);
Line 207... Line 207...
207
}
207
}
208
 
208
 
209
void EventOpenAsHex(int slot_id) {
209
void EventOpenAsHex(int slot_id) {