Overview
SHA1 Hash: | baf68cc18f9e2234f0e419008235e4a331f6cc1b |
---|---|
Date: | 2008-08-11 17:52:25 |
User: | drh |
Comment: | Make "notepad" the default text editor for windows. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/checkin.c from [b72cce6453] to [ef4fb31248].
@@ -250,11 +250,15 @@ } if( zEditor==0 ){ zEditor = getenv("EDITOR"); } if( zEditor==0 ){ +#ifdef __MINGW32__ + zEditor = "notepad"; +#else zEditor = "ed"; +#endif } zFile = db_text(0, "SELECT '%qci-comment-' || hex(randomblob(6)) || '.txt'", g.zLocalRoot); #ifdef __MINGW32__ blob_add_cr(&text);