~ubuntu-branches/ubuntu/lucid/gedit/lucid-updates

« back to all changes in this revision

Viewing changes to gedit/gedit-document-input-stream.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2010-04-29 10:16:12 UTC
  • mfrom: (1.1.79 upstream)
  • Revision ID: james.westby@ubuntu.com-20100429101612-cawm9u2kja132bpc
Tags: 2.30.2-0ubuntu1
* New upstream release:
  - Fix cut and paste typo that broke syntax detection

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
                case GEDIT_DOCUMENT_NEWLINE_TYPE_CR_LF:
179
179
                        ret = 2;
180
180
                        break;
 
181
 
 
182
                default:
 
183
                        g_warn_if_reached ();
 
184
                        ret = 1;
 
185
                        break;
181
186
        }
182
187
 
183
188
        return ret;
256
261
                case GEDIT_DOCUMENT_NEWLINE_TYPE_CR_LF:
257
262
                        ret = "\r\n";
258
263
                        break;
 
264
 
 
265
                default:
 
266
                        g_warn_if_reached ();
 
267
                        ret = "\n";
 
268
                        break;
259
269
        }
260
270
 
261
271
        return ret;