Develop and Download Open Source Software

Browse CVS Repository

Diff of /shiki/shiki/buffer.c

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.18 by aloha, Sun Feb 18 09:59:14 2007 UTC revision 1.19 by aloha, Sun Feb 18 10:07:11 2007 UTC
# Line 258  GtkTextBuffer *Shiki_new_buffer_create(g Line 258  GtkTextBuffer *Shiki_new_buffer_create(g
258    tabinfo->undoInfoList  = NULL;    tabinfo->undoInfoList  = NULL;
259    tabinfo->filename      = filename;    tabinfo->filename      = filename;
260    tabinfo->name      = g_path_get_basename(filename);    tabinfo->name      = g_path_get_basename(filename);
261    tabinfo->tabpage_label = g_strndup(tabinfo->name, 10);    //tabinfo->tabpage_label = g_strndup(tabinfo->name, 10);
262    tabinfo->env           = Scm_MakeModule(NULL, FALSE);    tabinfo->env           = Scm_MakeModule(NULL, FALSE);
263    
264    /* バッファ名を一意にする */    /* バッファ名を一意にする */
# Line 279  GtkTextBuffer *Shiki_new_buffer_create(g Line 279  GtkTextBuffer *Shiki_new_buffer_create(g
279      }      }
280    }    }
281    
282      tabinfo->tabpage_label = tabinfo->name;
283    
284    /* 環境が GC されるのを防ぐ */    /* 環境が GC されるのを防ぐ */
285    Scm_Define(SCM_CURRENT_MODULE(), SCM_SYMBOL(SCM_INTERN(tabinfo->name)), tabinfo->env);      Scm_Define(SCM_CURRENT_MODULE(), SCM_SYMBOL(SCM_INTERN(tabinfo->name)), tabinfo->env);  

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26