fix license, add new secret feature

This commit is contained in:
nothings.org 2009-08-05 18:09:48 +00:00
parent eb8babe4db
commit 1f9416227c

13
imv.c
View File

@ -11,7 +11,7 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License star
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
@ -2432,6 +2432,17 @@ int WINAPI MainWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
if (cur) frame(cur);
break;
case 'M' | MY_CTRL: {
FILE *f = fopen("c:/imv(stb)_marked.txt", "a");
if (f) {
char buffer[1024];
stb_fullpath(buffer, 1024, source_c->filename);
fprintf(f, "%s\n", buffer);
fclose(f);
}
break;
}
case 'C' | MY_CTRL: {
HGLOBAL hMem;
char buffer[1024], *t;